Skip to content

Commit

Permalink
add changelog, bump ConsensusProtocol
Browse files Browse the repository at this point in the history
  • Loading branch information
matevz committed Feb 13, 2020
1 parent e1aba0c commit 0df5c05
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .changelog/2650.breaking.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
send and check expected epoch number during transaction execution

Stress tests revealed some race conditions during transaction execution when
there is an epoch transition. Runtime client now sends `expectedEpochNumber`
parameter in `SubmitTx` call. The transaction scheduler checks whether the
expected epoch matches its local one. Additionally, if state transition occurs
during transaction execution, Executor and Merge committee correctly abort the
transaction.
9 changes: 9 additions & 0 deletions .changelog/2650.internal.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
replace Roothash, Scheduler and Registry fields with Consensus accessors

ConsensusAPI.Backend contains accessors for RootHash, Scheduler, and Registry.
Use those instead of direct references. The following structs were affected:
- Node in cmd/node/node.go,
- Node in common/commmittee/node.go,
- Worker in common/worker.go,
- clientCommon in runtime/client/client.go,
- Group in worker/common/committee/group.go.
2 changes: 2 additions & 0 deletions .changelog/2650.internal.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
e2e/multiple-runtimes: enable `EpochtimeMock`, add `numComputeWorkers`
parameter
2 changes: 1 addition & 1 deletion go/common/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ var (
//
// NOTE: Any change in the major or minor versions are considered
// breaking changes for the protocol.
ConsensusProtocol = Version{Major: 0, Minor: 23, Patch: 0}
ConsensusProtocol = Version{Major: 0, Minor: 24, Patch: 0}

// Tendermint exposes the tendermint core version.
Tendermint = parseSemVerStr(version.TMCoreSemVer)
Expand Down

0 comments on commit 0df5c05

Please sign in to comment.