Spend Less Gas - Solidity Gas Optimization [Deep Dive]

  Рет қаралды 6,321

Moralis for Developers

Moralis for Developers

Күн бұрын

Пікірлер: 13
@Dino-qz9bt
@Dino-qz9bt 2 жыл бұрын
We need more videos like this dealing with optimisations!
@alphabooos5844
@alphabooos5844 2 жыл бұрын
First Dz gamer here 🇩🇿🙏🙏🇩🇿✌️ ALG 🇩🇿🇩🇿
@Sobek888
@Sobek888 2 жыл бұрын
Its always good to learn something new 👍
@radezzientertainment501
@radezzientertainment501 2 жыл бұрын
ty ty very much! learning lots
@fuxingdi5548
@fuxingdi5548 2 жыл бұрын
good one thanks moralis
@rakeshvasani2363
@rakeshvasani2363 2 жыл бұрын
Hi Bro wanted to know that if in a solidity language smart contract if optimization is enabled (with 200 trials) what does it exactly mean at some people are claiming that if optimization is kept yes in smart contract then the creator can withdraw the the public funds available in smart contract and if the optimization is kept off then creator can not withdraw the public funds deposited in a smart contract. How true is this. Pls advise. Thank you!
@dariosanchez1373
@dariosanchez1373 Жыл бұрын
Hahaha, is a very good explanation. Thanks
@MoralisWeb3
@MoralisWeb3 Жыл бұрын
Thanks for the feedback ser
@cryptonicchronic8111
@cryptonicchronic8111 Жыл бұрын
doing this will save in gas but limits you with stack too deep errors, solidity is a tough language for how simple it is lol
@MoralisWeb3
@MoralisWeb3 Жыл бұрын
Thank you for the feedback on it
@Клоунеско
@Клоунеско 2 жыл бұрын
Bro use Hardhat+GasReporter )
@JonWigham
@JonWigham 2 жыл бұрын
Wouldn't storing _arrayFunds.length in a temporary variable and using that in the for loop be even even more optimised? :p
@nikolais6452
@nikolais6452 2 жыл бұрын
no, i just did a check. looking up the variable is the same regardless of it being a property of _arrayFunds, or if it is a temporary variable. in fact, creating the temp variable costs 5 more gas
Smart Contract Hacking - Reentrancy (2022)
51:51
Moralis for Developers
Рет қаралды 14 М.
Gas Optimization in Solidity: 10 tips
8:01
EatTheBlocks
Рет қаралды 13 М.
Creative Justice at the Checkout: Bananas and Eggs Showdown #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 33 МЛН
I thought one thing and the truth is something else 😂
00:34
عائلة ابو رعد Abo Raad family
Рет қаралды 14 МЛН
Ethers.js vs Web3.js & The Best Web3 Backend Platform
18:19
Moralis for Developers
Рет қаралды 12 М.
Transformers (how LLMs work) explained visually | DL5
27:14
3Blue1Brown
Рет қаралды 3,8 МЛН
10 common mistakes with the Next.js App Router
20:37
Vercel
Рет қаралды 231 М.
More Advanced Solidity and Design Patterns
41:06
Ethereum Engineering Group
Рет қаралды 8 М.
EVM Opcodes for Gas Optimizations
54:07
Chainlink
Рет қаралды 7 М.
Alex Roan: Hitchhiker’s Guide to the EVM
20:41
Chainlink
Рет қаралды 6 М.
OAuth 2.0 and OpenID Connect (in plain English)
1:02:17
OktaDev
Рет қаралды 1,8 МЛН
What Is GAS? Ethereum HIGH Transaction Fees Explained
13:02
Finematics
Рет қаралды 318 М.
Build A Metaverse Game Smart Contract
13:28
Moralis for Developers
Рет қаралды 7 М.