Migrate immutable variables set during create, during forks.
Why :hand:
Previously we were not importing any immutable variables.
Evidence :camera:
Notes :memo:
Immutable storage values are stored via mapping key per contract address and per contract-slot, so it's not possible to obtain or even iterate over the entire 2^256 space in a realistic time. So we recode the setImmutables() call and track all immutables set so far per contract address. As any address can be marked persistent at any given moment we currently track all immutables.
What :computer:
Why :hand:
Evidence :camera:
Notes :memo:
2^256
space in a realistic time. So we recode thesetImmutables()
call and track all immutables set so far per contract address. As any address can be marked persistent at any given moment we currently track all immutables.