From dee28462a517e3ebca3c45d6529f812143a79e2b Mon Sep 17 00:00:00 2001 From: posvyatokum Date: Sat, 25 Mar 2023 16:22:48 +0000 Subject: [PATCH] bump protocol version for 1.33.0 --- chain/chain/src/tests/simple_chain.rs | 4 ++-- chain/jsonrpc/jsonrpc-tests/res/genesis_config.json | 2 +- core/primitives/src/version.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/chain/chain/src/tests/simple_chain.rs b/chain/chain/src/tests/simple_chain.rs index 480b0a59aa3..d5133210426 100644 --- a/chain/chain/src/tests/simple_chain.rs +++ b/chain/chain/src/tests/simple_chain.rs @@ -45,7 +45,7 @@ fn build_chain() { if cfg!(feature = "nightly") { insta::assert_display_snapshot!(hash, @"6RefKUxXco18otaEoq2X8WZzXvmFpE8bCrScfJxw6TsJ"); } else { - insta::assert_display_snapshot!(hash, @"HC1942JdWWxiJb8zm5VyepB7iysDbBq8MfnZC7aSq7mK"); + insta::assert_display_snapshot!(hash, @"3fK7Uu3HC9y9DPMsDNaAP8sv56UCK2ZV1txRhTriF9qb"); } for i in 1..5 { @@ -75,7 +75,7 @@ fn build_chain() { if cfg!(feature = "nightly") { insta::assert_display_snapshot!(hash, @"AV8UPQ2WvJyieSHVf6SDLYmycE4xwWuTvaHiR5hPdoX2"); } else { - insta::assert_display_snapshot!(hash, @"8L1cHCc7Cx9SRPWpVtjPtEzQWamztMoHE3cxAcZtHTKv"); + insta::assert_display_snapshot!(hash, @"7hQ4bvvu2TmgFVhELFThZPHFoBPwa74VT6D8uk79xPzB"); } } diff --git a/chain/jsonrpc/jsonrpc-tests/res/genesis_config.json b/chain/jsonrpc/jsonrpc-tests/res/genesis_config.json index 0978184fa43..f078dcd7fc8 100644 --- a/chain/jsonrpc/jsonrpc-tests/res/genesis_config.json +++ b/chain/jsonrpc/jsonrpc-tests/res/genesis_config.json @@ -1,5 +1,5 @@ { - "protocol_version": 59, + "protocol_version": 60, "genesis_time": "1970-01-01T00:00:00.000000000Z", "chain_id": "sample", "genesis_height": 0, diff --git a/core/primitives/src/version.rs b/core/primitives/src/version.rs index 2a4191e75ac..e5af893309a 100644 --- a/core/primitives/src/version.rs +++ b/core/primitives/src/version.rs @@ -161,7 +161,7 @@ pub const PEER_MIN_ALLOWED_PROTOCOL_VERSION: ProtocolVersion = STABLE_PROTOCOL_V /// Current protocol version used on the mainnet. /// Some features (e. g. FixStorageUsage) require that there is at least one epoch with exactly /// the corresponding version -const STABLE_PROTOCOL_VERSION: ProtocolVersion = 59; +const STABLE_PROTOCOL_VERSION: ProtocolVersion = 60; /// Largest protocol version supported by the current binary. pub const PROTOCOL_VERSION: ProtocolVersion = if cfg!(feature = "nightly_protocol") {