Тёмный

Gas Optimization in Solidity: 10 tips 

EatTheBlocks
Подписаться 164 тыс.
Просмотров 13 тыс.
50% 1

Опубликовано:

 

11 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 23   
@cryptocalc6884
@cryptocalc6884 Год назад
Amazing channel -- thanks a lot. Thanks also for the quick summary in the description
@shouryamkumar3369
@shouryamkumar3369 2 года назад
The most clear playlist on the ethereum gas I could find. Thanks Julian for all the effort you put in!
@magnetto90
@magnetto90 2 года назад
You deserve more subscribers
@EatTheBlocks
@EatTheBlocks 2 года назад
thx!
@ghasemsadeghi5175
@ghasemsadeghi5175 4 года назад
Nice tips. I think it would be great if you can show all of these tips in a real DAPP example.
@rajasmasala
@rajasmasala 3 года назад
See uni v2 actual code
@qasimraheemkhokhar
@qasimraheemkhokhar 3 года назад
thanks, i was stuck, turn on optimizer of solidity compiler
@kishlorn3299
@kishlorn3299 2 года назад
Your optimizer settings are wrong at 3:46 Optimizer settings should be under under settings, as in: compilers.solc.settings.optimizer:{...}
@nikolais6452
@nikolais6452 2 года назад
Only if you are not using a EVM framework, like truffle, hardhat or forge
@ktzleaps6104
@ktzleaps6104 3 года назад
you're awesome man really
@EatTheBlocks
@EatTheBlocks 3 года назад
haha thx :)
@despareint
@despareint 4 года назад
Is it recommended to use the Remix IDE's optimization feature?
@EatTheBlocks
@EatTheBlocks 4 года назад
If you deploy to production.
@despareint
@despareint 4 года назад
@@EatTheBlocks Some are suggesting to turn it off (Remix optimization) in production. So I'm a bit confused at this point.
@EatTheBlocks
@EatTheBlocks 4 года назад
@@despareint why are they suggesting this? You want code that is gas optimized for production.
@nikolais6452
@nikolais6452 2 года назад
@@EatTheBlocks It used to have problems, i think in solidity 0.5.0, so people still think this is the same
@bikashjena8167
@bikashjena8167 4 года назад
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
@EatTheBlocks 4 года назад
its possible, gas requirements change depending on whats in the storage of the smart contract the and input provided to the function.
@bikashjena8167
@bikashjena8167 4 года назад
@@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.
@EatTheBlocks
@EatTheBlocks 4 года назад
@@bikashjena8167 increase gas limit on your transaction
@bikashjena8167
@bikashjena8167 4 года назад
@@EatTheBlocks thanks for the suggestion man...
@CodeYourselfToDeath
@CodeYourselfToDeath 2 года назад
Great video!
@EatTheBlocks
@EatTheBlocks 2 года назад
Thanks!
Далее
Optimising Code - Computerphile
19:43
Просмотров 148 тыс.
НАШЛА ДЕНЬГИ🙀@VERONIKAborsch
00:38
Просмотров 1,1 млн
Обыкновенное чудо
00:48
Просмотров 857 тыс.
Top 5 Tricks For Gas Optimizations in Solidity
6:54
Просмотров 4,1 тыс.
Advanced Smart Contract Hacking
35:17
Просмотров 56 тыс.
How TOR Works- Computerphile
14:19
Просмотров 1,7 млн
Deploying More Efficient Upgradeable Contracts
40:54
Просмотров 25 тыс.
Unlimited Size Contracts Using Solidity
31:26
Просмотров 1,3 тыс.