This is a simple way to calculate/estimate gas on (literally) any operation(transaction) in Solidity.
Measure if ++i or i++ is more gas efficient etc.
——————————————————————————————————–
⚠️ Don’t click this link – https://www.youtube.com/channel/UCmI997WuJrWc5CXeRGqCQlQ?sub_confirmation=1
——————————————————————————————————–
💻 Source code – https://gist.github.com/ViktorKuzmanov/08fd13936596fa7f18b090983a34f2cb
Buy Trezor Hardware Wallet – https://shop.trezor.io/product/trezor-one-black?offer_id=35&aff_id=9504
——————————————————————————————————–
Disclaimer: When you purchase through links on our site I may earn an affiliate commission.
Disclaimer 2: Anything I say in this video is not financial advice, it’s for entertainment and educational purposes only. I’m not a financial advisor.
Error: Contact form not found.