PopPunkLLC / gaslite-core

Gaslite's Highly Optimized Smart Contracts
MIT License
178 stars 30 forks source link

optimize gas splitter #5

Open malik672 opened 1 year ago

malik672 commented 1 year ago

in the gas splitter contract, won't it just be better to write bool public immutable releaseRoyalty; as uint256 public immutable releaseRoyalty; and since the value is already is already immutable, this will probably save us 1000+ in deployment gas and saves us 13K+ in total gas cost