Timeline for Why are gas fees taken for failed smart contract interactions?
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 23, 2022 at 16:07 | comment | added | niahoo | @RobHitchens But if the execution fails, why is the transaction still stored in the blockchain (also storing the gas consumption)? | |
Mar 14, 2021 at 19:44 | comment | added | Rob Hitchens | The failure is not necessarily related to gas. Lowering it adds another probable cause. Raising it does nothing because unused gas is returned. Probably what you are doing is not allowed. Possibly there is an error in the contract. | |
Mar 14, 2021 at 13:16 | comment | added | user610620 | if Metamask always says "minimum gas price is 21,000" and I set it to 25,000 which meets the requirement, why would the transaction (a contract interaction) fail? | |
Mar 14, 2021 at 13:15 | vote | accept | user610620 | ||
Mar 14, 2021 at 4:40 | history | answered | Rob Hitchens | CC BY-SA 4.0 |