I have a doubt...after deployment of a contract on to a test network, first time deployment is successful and then after when I did deploy again on the test network it said transaction may fail exceeded gas limit, VM execution error
@@EatTheBlocks Thanks for the reply.. How can I solve this error.. because I am preparing a contract that will store Blacklisted IP address... It consists of both IPv4 and IPv6 types of addresses.
Amazing channel -- thanks a lot. Thanks also for the quick summary in the description
thanks, i was stuck, turn on optimizer of solidity compiler
The most clear playlist on the ethereum gas I could find. Thanks Julian for all the effort you put in!
Your optimizer settings are wrong at 3:46
Optimizer settings should be under under settings, as in: compilers.solc.settings.optimizer:{...}
Only if you are not using a EVM framework, like truffle, hardhat or forge
You deserve more subscribers
thx!
Nice tips. I think it would be great if you can show all of these tips in a real DAPP example.
See uni v2 actual code
Is it recommended to use the Remix IDE's optimization feature?
If you deploy to production.
@@EatTheBlocks Some are suggesting to turn it off (Remix optimization) in production. So I'm a bit confused at this point.
@@despareint why are they suggesting this? You want code that is gas optimized for production.
@@EatTheBlocks It used to have problems, i think in solidity 0.5.0, so people still think this is the same
you're awesome man really
haha thx :)
I have a doubt...after deployment of a contract on to a test network, first time deployment is successful and then after when I did deploy again on the test network it said transaction may fail exceeded gas limit, VM execution error
its possible, gas requirements change depending on whats in the storage of the smart contract the and input provided to the function.
@@EatTheBlocks Thanks for the reply.. How can I solve this error.. because I am preparing a contract that will store Blacklisted IP address... It consists of both IPv4 and IPv6 types of addresses.
@@bikashjena8167 increase gas limit on your transaction
@@EatTheBlocks thanks for the suggestion man...