Skip to content

Commit

Permalink
Bump protocol versions to 1.0.0 in preparation for the Mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
tjanez committed Sep 6, 2020
1 parent f7f11c7 commit 6fd8787
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
9 changes: 9 additions & 0 deletions .changelog/3249.breaking.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Bump protocol versions to 1.0.0 in preparation for the Mainnet

As described in our [Versioning scheme], we will bump the protocol versions
(Consensus, Runtime Host, Runtime Committee) to version 1.0.0 when preparing
an Oasis Core release for the Mainnet, which signifies they are ready for
production use.

[Versioning scheme]:
docs/versioning.md#mainnet-and-version-1.0.0
6 changes: 3 additions & 3 deletions go/common/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,19 +64,19 @@ var (
// the runtime.
//
// NOTE: This version must be synced with runtime/src/common/version.rs.
RuntimeHostProtocol = Version{Major: 0, Minor: 16, Patch: 0}
RuntimeHostProtocol = Version{Major: 1, Minor: 0, Patch: 0}

// RuntimeCommitteeProtocol versions the P2P protocol used by the runtime
// committee members.
RuntimeCommitteeProtocol = Version{Major: 0, Minor: 11, Patch: 0}
RuntimeCommitteeProtocol = Version{Major: 1, Minor: 0, Patch: 0}

// ConsensusProtocol versions all data structures and processing used by
// the epochtime, beacon, registry, roothash, etc. modules that are
// backend by consensus.
//
// NOTE: Any change in the major or minor versions are considered
// breaking changes for the protocol.
ConsensusProtocol = Version{Major: 0, Minor: 27, Patch: 0}
ConsensusProtocol = Version{Major: 1, Minor: 0, Patch: 0}

// Tendermint exposes the tendermint core version.
Tendermint = parseSemVerStr(version.TMCoreSemVer)
Expand Down
4 changes: 2 additions & 2 deletions runtime/src/common/version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ impl From<u64> for Version {
// and the runtime. This version MUST be compatible with the one supported by
// the worker host.
pub const PROTOCOL_VERSION: Version = Version {
major: 0,
minor: 16,
major: 1,
minor: 0,
patch: 0,
};

0 comments on commit 6fd8787

Please sign in to comment.