Skip to content

state: Use BlockExecutor everywhere #1029

@ebuchman

Description

@ebuchman
  • Remove ExecCommitBlock
  • Bring a BlockExecutor into the Handshake in its place. It will have to load necessary historical information.
  • Handshake should return the State, eliminating need to reload it like in https://github.com/tendermint/tendermint/blob/v0.24.0/node/node.go#L201
  • Introduce StateStore ? Goal is to remove need to pass stateDB+state everywhere. It could also host the methods for SaveState, LoadABCIRepsonses, etc. Also better to use that a random dbm.DB everywhere (ie. in RPC)
  • Consider moving handshake to state from consensus

Metadata

Metadata

Assignees

No one assigned

    Labels

    C:consensusComponent: Consensusstalefor use by stalebot

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions