Skip to content
This repository has been archived by the owner on Feb 21, 2022. It is now read-only.

Commit

Permalink
Add state_version field
Browse files Browse the repository at this point in the history
  • Loading branch information
HCastano committed Jan 8, 2022
1 parent f333671 commit 576cef4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,13 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 1,
// Since Canvas is a "live" chain (on Rococo anyways), we need to set this to `0` until a
// migration path to `state_version = 1` is ready.
//
// See the following PRs for more details:
// - https://github.com/paritytech/substrate/pull/9732
// - https://github.com/paritytech/substrate/pull/10073
state_version: 0,
};

/// This determines the average expected block time that we are targeting.
Expand Down

0 comments on commit 576cef4

Please sign in to comment.