diff --git a/chain/client/tests/process_blocks.rs b/chain/client/tests/process_blocks.rs index 7179ca1d0ac..9e63dc599de 100644 --- a/chain/client/tests/process_blocks.rs +++ b/chain/client/tests/process_blocks.rs @@ -2972,6 +2972,15 @@ mod protocol_feature_restore_receipts_after_fix_tests { env.clients[0].chain.get_block_by_height(height - 1).unwrap().clone(); set_no_chunk_in_block(&mut block, &prev_block); } + let validator_signer = InMemoryValidatorSigner::from_seed( + &"test0".to_string(), + KeyType::ED25519, + &"test0".to_string(), + ); + block.mut_header().get_mut().inner_rest.latest_protocol_version = + ProtocolFeature::RestoreReceiptsAfterFix.protocol_version(); + block.mut_header().resign(&validator_signer); + env.process_block(0, block, Provenance::PRODUCED); let last_block = env.clients[0].chain.get_block_by_height(height).unwrap().clone(); diff --git a/core/primitives/src/version.rs b/core/primitives/src/version.rs index 28bd7b9bab2..385ca748fd1 100644 --- a/core/primitives/src/version.rs +++ b/core/primitives/src/version.rs @@ -117,7 +117,7 @@ pub const PROTOCOL_VERSION: ProtocolVersion = 45; /// Current latest nightly version of the protocol. #[cfg(feature = "nightly_protocol")] -pub const PROTOCOL_VERSION: ProtocolVersion = 112; +pub const PROTOCOL_VERSION: ProtocolVersion = 113; impl ProtocolFeature { pub const fn protocol_version(self) -> ProtocolVersion {