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
Maybe via Transaction::Upgrade. How can we later add governance on top of that? What to do with a huge size of the byte code? How does the network know what is the current bytecode hash?
The text was updated successfully, but these errors were encountered:
We've decided to split the updating of the consensus parameters and WASM bytecode into separate processes.
The BlockHeader will contain the consensus_parameters_version: u32 and state_transition_bytecode_version: u32 fields as part of the application hash.
The upgrade transaction will post a serialized version of the consensus parameters. By default, we will use postcard to serialize it. The version will be automatically increased for the next block. The state transition will advance the version by one based on the current block header during the processing of the upgrade transaction.
The state transition function will verify that the block header uses the latest version by checking that a higher version doesn't exist.
Maybe via
Transaction::Upgrade
. How can we later add governance on top of that? What to do with a huge size of the byte code? How does the network know what is the current bytecode hash?The text was updated successfully, but these errors were encountered: