You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Execution parameters need to move into the dynamic protocol state.
Execution parameters is the following data:
execution component version
cadence component version
execution effort weights
execution memory weights
execution memory limit
Benefits:
This simplifies the programs cache, because it has an easier job with invalidation when execution parameters change and the execution parameters no longer need to be in the cache
It removes the need to read this settings in the FVM. The read of execution parameters currently has a lot of special casing code (because you need some execution parameters to read the execution parameters)
Enables us to remove addresses hardcoded in FVM (fvm/systemcontracts/system_contracts.go, executionParametersAddressTestnet & executionParametersAddressMainnet) because they would no longer be needed.
The text was updated successfully, but these errors were encountered:
Problem Definition
Execution parameters need to move into the dynamic protocol state.
Execution parameters is the following data:
Benefits:
The text was updated successfully, but these errors were encountered: