feat: Add VoteInfos to context in BeginBlock (#15403)
This commit is contained in:
parent
1c31e98903
commit
7fbb8223bd
@ -196,7 +196,8 @@ func (app *BaseApp) BeginBlock(req abci.RequestBeginBlock) (res abci.ResponseBeg
|
||||
app.deliverState.ctx = app.deliverState.ctx.
|
||||
WithBlockGasMeter(gasMeter).
|
||||
WithHeaderHash(req.Hash).
|
||||
WithConsensusParams(app.GetConsensusParams(app.deliverState.ctx))
|
||||
WithConsensusParams(app.GetConsensusParams(app.deliverState.ctx)).
|
||||
WithVoteInfos(req.LastCommitInfo.GetVotes())
|
||||
|
||||
if app.checkState != nil {
|
||||
app.checkState.ctx = app.checkState.ctx.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user