oasis-core icon indicating copy to clipboard operation
oasis-core copied to clipboard

runtime: Add state_at to consensus Verifier trait

Open kostko opened this issue 1 year ago • 1 comments

  • runtime: Add state_at to consensus Verifier trait

    This allows fetching historic consensus layer state in addition to the latest state.

  • runtime: Refactor dispatcher initializer and expose consensus_verifier

kostko avatar Aug 19 '22 16:08 kostko

Codecov Report

Merging #4893 (9775ef0) into master (61be6b6) will increase coverage by 0.15%. The diff coverage is 87.20%.

@@            Coverage Diff             @@
##           master    #4893      +/-   ##
==========================================
+ Coverage   66.44%   66.59%   +0.15%     
==========================================
  Files         460      464       +4     
  Lines       50791    50977     +186     
==========================================
+ Hits        33747    33948     +201     
+ Misses      12857    12840      -17     
- Partials     4187     4189       +2     
Impacted Files Coverage Δ
go/roothash/api/message/incoming_message.go 100.00% <ø> (ø)
go/runtime/registry/host.go 71.07% <0.00%> (+2.06%) :arrow_up:
go/runtime/txpool/metrics.go 100.00% <ø> (ø)
go/oasis-node/cmd/genesis/genesis.go 53.80% <28.57%> (-0.46%) :arrow_down:
go/worker/common/committee/node.go 60.77% <31.25%> (-1.12%) :arrow_down:
go/runtime/txpool/main_queue.go 75.86% <75.86%> (ø)
go/runtime/txpool/txpool.go 82.70% <91.03%> (+2.95%) :arrow_up:
go/consensus/tendermint/full/archive.go 77.39% <100.00%> (ø)
go/consensus/tendermint/full/full.go 65.04% <100.00%> (ø)
go/runtime/txpool/local_queue.go 100.00% <100.00%> (ø)
... and 38 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

codecov[bot] avatar Aug 19 '22 17:08 codecov[bot]