gnosisguild / wand-nft

wand-nft.vercel.app
8 stars 6 forks source link

Template contract bytes shaving #19

Closed jfschwarz closed 2 years ago

jfschwarz commented 2 years ago

I've optimized the SVG code using svgo + some manual adjustments. This brought the compiled template contract deployment cost to 14.0M gas, down from 18.5M.

I have not looked at the frame layer yet, since this is still work in progress.

⚠️ We need to carefully check, that the optimization did not break anything in the visual appearance.