How to write gas optimized solidity contract?
·
개발/BlockChain
Gas Optimized ContractsI will explain about gas optimization when writing contract code with reference to nodeguardians gas optimization campaignYou can find the all of codes in Github.1. Reducing Storage AccessAccessing contract storage is a very expensive operation.The opcodes for accessing storage are SLOAD and SSTORE. we can see that SLOAD and SSTORE are very expensive operations.Here is an ..