nolus

Prop 283: Unpin Inactive Contract Codes

Summary

Code pinning is a mechanism that allows contract code IDs to be pinned to memory. This way code does not have to be loaded to memory on each execution which in turn reduces the gas requirement for each transaction involving that contract. With each new migration, new code IDs need to be stored on-chain. These effectively replace the old ones which are not used. The old IDs which have already been pinned, remain that way and cost the node providers memory which, even though small, may compound over time, as new contracts are being stored and pinned on-chain.

By voting "YES" to this proposal you agree to unpin the code IDs of old contracts that are not active anymore so that only the newly pinned contracts from the v0.8.7 release remain.