Skip to content

Commit

Permalink
feat(chain): Bump the protocol version.
Browse files Browse the repository at this point in the history
  • Loading branch information
artob authored and joshuajbouw committed Mar 26, 2021
1 parent 2fc3076 commit bb5bee4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/primitives/src/version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ pub const SHARD_CHUNK_HEADER_UPGRADE_VERSION: ProtocolVersion = 41;
/// Updates the way receipt ID is constructed to use current block hash instead of last block hash
pub const CREATE_RECEIPT_ID_SWITCH_TO_CURRENT_BLOCK_VERSION: ProtocolVersion = 42;

/// See [#3954: Extend the Math API with EVM precompiles](https://github.com/near/nearcore/pull/3954)
pub const MATH_API_FOR_EVM_ISTANBUL_PROTOCOL_VERSION: ProtocolVersion = 43;

pub struct ProtocolVersionRange {
lower: ProtocolVersion,
upper: Option<ProtocolVersion>,
Expand Down

0 comments on commit bb5bee4

Please sign in to comment.