Skip to content

Release/v0.30.0#3288

Merged
ebuchman merged 8 commits intomasterfrom
release/v0.30.0
Feb 9, 2019
Merged

Release/v0.30.0#3288
ebuchman merged 8 commits intomasterfrom
release/v0.30.0

Conversation

@ebuchman
Copy link
Contributor

@ebuchman ebuchman commented Feb 8, 2019

CHANGELOG

Please review changelog prep in #3287. Also includes evidence fixes as #3286 already reviewed in private.

  • Updated all relevant documentation in docs
  • Updated all code comments where relevant
  • Wrote tests
  • Updated CHANGELOG_PENDING.md

ebuchman and others added 8 commits February 8, 2019 09:43
Merge master back to develop
* Initial commit for 3181..still early

* unit test updates

* unit test updates

* fix check of dups accross updates and deletes

* simplify the processChange() func

* added overflow check utest

* Added checks for empty valset, new utest

* deepcopy changes in processUpdate()

* moved to new API, fixed tests

* test cleanup

* address review comments

* make sure votePower > 0

* gofmt fixes

* handle duplicates and invalid values

* more work on tests, review comments

* Renamed and explained K

* make TestVal private

* split verifyUpdatesAndComputeNewPriorities.., added check for deletes

* return error if validator set is empty after processing changes

* address review comments

* lint err

* Fixed the total voting power and added comments

* fix lint

* fix lint
Don't add committed evidence to evpool
* evidence: NewEvidencePool takes evidenceDB

* evidence: failing TestStoreCommitDuplicate

tendermint/security#35

* GetEvidence -> GetEvidenceInfo

* fix TestStoreCommitDuplicate

* comment in VerifyEvidence

* add check if evidence was already seen
 - modify EventPool interface (EventStore is not known in ApplyBlock):
   - add IsCommitted method to iface
 - add test

* update changelog

* fix TestStoreMark:
 - priority in evidence info gets reset to zero after evidence gets committed

* review comments: simplify EvidencePool.IsCommitted
 - delete obsolete EvidenceStore.IsCommitted

* add simple test for IsCommitted

* update changelog: this is actually breaking (PR number still missing)

* fix TestStoreMark:
 - priority in evidence info gets reset to zero after evidence gets
 committed

* review suggestion: simplify return
* types.NewCommit

* use types.NewCommit everywhere

* fix log in unsafe_reset

* memoize height and round in constructor

* notes about deprecating toVote

* bring back memoizeHeightRound
* changelog, upgrading, version

* update for evidence fixes

* linkify

* fix an entry
@ebuchman ebuchman requested a review from melekes as a code owner February 8, 2019 23:52
@codecov-io
Copy link

codecov-io commented Feb 9, 2019

Codecov Report

Merging #3288 into master will increase coverage by 0.2%.
The diff coverage is 93.33%.

@@            Coverage Diff            @@
##           master    #3288     +/-   ##
=========================================
+ Coverage    63.7%   63.91%   +0.2%     
=========================================
  Files         215      215             
  Lines       17750    17731     -19     
=========================================
+ Hits        11308    11333     +25     
+ Misses       5503     5468     -35     
+ Partials      939      930      -9
Impacted Files Coverage Δ
crypto/secp256k1/secp256k1_nocgo.go 78.57% <ø> (ø) ⬆️
state/services.go 40% <0%> (-2.86%) ⬇️
cmd/tendermint/commands/reset_priv_validator.go 0% <0%> (ø) ⬆️
consensus/state.go 78.52% <100%> (-0.24%) ⬇️
evidence/pool.go 85.24% <100%> (+29.1%) ⬆️
state/validation.go 66.38% <100%> (+0.57%) ⬆️
state/execution.go 72.24% <100%> (+1.61%) ⬆️
evidence/store.go 92.59% <100%> (+2.23%) ⬆️
node/node.go 65.3% <100%> (-0.08%) ⬇️
lite/helpers.go 80.26% <100%> (-0.51%) ⬇️
... and 10 more

Copy link
Contributor

@melekes melekes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥇

@ebuchman ebuchman merged commit 28d75ec into master Feb 9, 2019
ebuchman added a commit that referenced this pull request Feb 9, 2019
Merge pull request #3288 from tendermint/release/v0.30.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants