My gas optimized for RareSkills Gas Puzzles
Practice assignments for RareSkills.io and the Udemy Gas Optimization Course
-
Optimized Vote 138807 to 136499 in gas usage.
-
Optimized ArraySum 23399 to 23396 in gas usage.
-
Optimized Require 43392 to 26284 in gas usage.
-
Optimized Distribute 71953 to 57022 in gas usage.
- GasPuzzles
|_
contracts
|_
contracts_optimized
| |_
| OptimizedArraySum.sol
| OptimizedDistribute.sol
| ..
| ...
|
ArraySum.sol
Distribute.sol
..
...
yarn hardhat test
yarn hardhat test test/Vote