Ethereum Asked by koukotsu on February 1, 2021
The below function was working fine until I added a string parameter and saved the string to a mapping. Now when I call it it fails with an ‘out of stack’ exception. Is there something I’m doing wrong related to strings? What would cause an out of stack exception in this case?
https://kovan.etherscan.io/tx/0xacfe4ec5acbdf57da0fd099e94b03712eb1f537f9a794b4c42ad362478f1cb0e
function launch(uint256 amount, address player, string memory name) public returns(bool){
...
balances[player] = amount;
names[player] = name;
addresses.push(player);
emit created(player, amount, name);
return true;
}
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP