Skip to main content
4 events
when toggle format what by license comment
Dec 7, 2023 at 19:53 vote accept Kogelet
Dec 7, 2023 at 18:08 comment added Lauri Peltonen All contract interactions consume gas. The only time they don't use gas is if you issue a static call which doesn't alter the blockchain/contract state. But that's not related to the call you're making in your code. The code works fine with regular EOAs because they don't have any code to run when assets are sent to them.
Dec 7, 2023 at 17:30 comment added Kogelet Internal transactions do not consume gas, so that's why I explicitly set gas to 0. It won't impact the behavior of the function. This function works fine with standard accounts but if I use a Smart Contract Wallet - it fails :(
Dec 7, 2023 at 17:22 history answered Lauri Peltonen CC BY-SA 4.0