Skip to content

Refactor updateState #2865 - #2929

Merged
ebuchman merged 3 commits into
tendermint:developfrom
danil-lashin:2865-refactor-updateState
Nov 28, 2018
Merged

ebuchman merged 3 commits into
tendermint:developfrom
danil-lashin:2865-refactor-updateState

Conversation

@danil-lashin

@danil-lashin danil-lashin commented Nov 28, 2018 •

Copy link
Copy Markdown
Contributor

Fixes #2865

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

@codecov-io

codecov-io commented Nov 28, 2018 •

Copy link
Copy Markdown

Codecov Report

Merging #2929 into master will increase coverage by 0.02%.
The diff coverage is 76.47%.

@@            Coverage Diff             @@
##           master    #2929      +/-   ##
==========================================
+ Coverage   62.73%   62.76%   +0.02%     
==========================================
  Files         212      212              
  Lines       17410    17409       -1     
==========================================
+ Hits        10922    10926       +4     
+ Misses       5572     5568       -4     
+ Partials      916      915       -1
Impacted Files Coverage Δ
state/execution.go 76.31% <76.47%> (-0.11%) ⬇️
privval/tcp_server.go 78.57% <0%> (-2.86%) ⬇️
consensus/reactor.go 66.51% <0%> (+0.23%) ⬆️
rpc/client/httpclient.go 69.75% <0%> (+0.97%) ⬆️
privval/ipc_server.go 70.37% <0%> (+5.55%) ⬆️

@melekes melekes left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🍃 🌴 🌤

Thank you

Comment thread state/execution_test.go Resolved
Comment thread state/state_test.go Resolved
Comment thread state/state_test.go Resolved
Comment thread state/state_test.go Resolved
Comment thread state/state_test.go Resolved
Comment thread state/state_test.go Resolved
@danil-lashin

Copy link
Copy Markdown
Contributor Author

@melekes done, thanks!

@danil-lashin
danil-lashin changed the base branch from master to develop November 28, 2018 10:44

@ebuchman ebuchman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for this!

I was hoping the abciResponses could be removed all together as an argument to updateState, since we could instead just pass in ConsensusParams. But not sure if it's worth it.

Anyways, this is fine for now. The pkg could probably continue to use some code structure improvements in the future.

@ebuchman
ebuchman merged commit 7213869 into tendermint:develop Nov 28, 2018
iKapitonau pushed a commit to scrtlabs/tendermint that referenced this pull request Jul 16, 2024
… Anoma) (backport tendermint#2929) (tendermint#2941)

---

#### PR checklist

- [ ] ~~Tests written/updated~~
- [ ] ~~Changelog entry added in `.changelog` (we use
[unclog](https://github.com/informalsystems/unclog) to manage our
changelog)~~
- [x] Updated relevant documentation (`docs/` or `spec/`) and code
comments
- [x] Title follows the [Conventional
Commits](https://www.conventionalcommits.org/en/v1.0.0/) spec
<hr>This is an automatic backport of pull request tendermint#2929 done by
[Mergify](https://mergify.com).

---------

Co-authored-by: Sergio Mena <[email protected]>
Co-authored-by: Andy Nogueira <[email protected]>
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.

4 participants