Timeline for How to execute the Transfer function from Remix
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 30, 2020 at 12:52 | comment | added | clement | Remix has very generic error messages. If you have further questions, please open a new post. | |
Sep 30, 2020 at 7:00 | comment | added | Axium7 | I think I figured out this one too. At the end of the message it says "always failing transaction". So this message combines both running out of Gas and a heads up that your Transaction will always fail. | |
Sep 30, 2020 at 5:58 | comment | added | Axium7 | I deployed my contract to Rinkeby. Everything works fine. However, I noticed when I perform a TransferFrom transaction and allowance reaches 0, I get a Gas Estimation Error in Remix. Shouldn't Remix allow the transaction to go through and then "require(numTokens <= allowed[owner][msg.sender]);" should trap the Error? | |
Sep 29, 2020 at 13:57 | vote | accept | Axium7 | ||
Sep 29, 2020 at 13:45 | comment | added | clement | Yes, that's it. | |
Sep 29, 2020 at 13:44 | comment | added | Axium7 | I figured it out. I thought the Account was just for showing me the available addresses but the chosen account is what actually executes the transactions. I understand now. Thank you. | |
Sep 29, 2020 at 13:37 | comment | added | Axium7 | "Just call transfer with the same address that the one you used to deploy. Be sure to respect the following condition" This is what I don't know how to do in Remix. I don't know how to specify the calling address... the default address is the contract address. Too bad I can't paste screenshots here. | |
Sep 29, 2020 at 10:24 | history | answered | clement | CC BY-SA 4.0 |