Skip to content

Commit

Permalink
fix: update protocol version (#3381)
Browse files Browse the repository at this point in the history
#3302 changed the protocol but didn't update protocol version.
  • Loading branch information
bowenwang1996 authored Sep 28, 2020
1 parent 971f814 commit 7569a86
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/primitives/src/version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub const DB_VERSION: DbVersion = 10;
pub type ProtocolVersion = u32;

/// Current latest version of the protocol.
pub const PROTOCOL_VERSION: ProtocolVersion = 38;
pub const PROTOCOL_VERSION: ProtocolVersion = 39;
/// TODO: Remove in next release. This is to allow nodes with initial version 34
/// to be compatible with nodes at version 35
pub const NETWORK_PROTOCOL_VERSION: ProtocolVersion = 34;
Expand Down
4 changes: 2 additions & 2 deletions neard/res/genesis_config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"protocol_version": 38,
"protocol_version": 39,
"genesis_time": "1970-01-01T00:00:00.000000000Z",
"chain_id": "sample",
"genesis_height": 0,
Expand Down Expand Up @@ -236,4 +236,4 @@
"fishermen_threshold": "10000000000000000000000000",
"minimum_stake_divisor": 10,
"records": []
}
}

0 comments on commit 7569a86

Please sign in to comment.