You can pass the gas
parameter to a contract call. Also, you can omit it. What’s the difference? Does gas
parameter define the maximum amount of gas the contract call can spend?
Hi @mpoplavkov ,
This will limit the total amount of gas used by that call, which is useful if its a contract the developer or user is less sure about (from a security perspective) or that can run up a big gas bill.
Thanks, that’s what I thought. It’s just not clear from the docs
1 Like
This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.