Hey guys. Is there a way to set the default gas limit in the contract code? My contract uses more gas then normal and I can get it to go through if I increase the gas limit on metamask manually but the default value that shows up automatically is too low

Jun 28, 2019, 3:31 AM
Yep it depends on the computation steps and memory used in your contract
Jun 28, 2019, 4:16 AM
ok thanks
Jun 28, 2019, 4:17 AM
Has to be done in web3, but I think you can limit how much gas you supply for a contract call if its one contract calling into another contract
Jun 28, 2019, 5:00 AM
Thanks. My dev is awake now, he's helping me out. Thanks guys
Jun 28, 2019, 5:20 AM

© 2024 Draquery.com All rights reserved.