feat: add apphash to process proposal calls (#17401)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
This commit is contained in:
parent
6b0f8add45
commit
a860919ca5
@ -400,6 +400,7 @@ func (app *BaseApp) PrepareProposal(req *abci.RequestPrepareProposal) (resp *abc
|
||||
Time: req.Time,
|
||||
ProposerAddress: req.ProposerAddress,
|
||||
NextValidatorsHash: req.NextValidatorsHash,
|
||||
AppHash: app.LastCommitID().Hash,
|
||||
}
|
||||
app.setState(execModePrepareProposal, header)
|
||||
|
||||
@ -483,6 +484,7 @@ func (app *BaseApp) ProcessProposal(req *abci.RequestProcessProposal) (resp *abc
|
||||
Time: req.Time,
|
||||
ProposerAddress: req.ProposerAddress,
|
||||
NextValidatorsHash: req.NextValidatorsHash,
|
||||
AppHash: app.LastCommitID().Hash,
|
||||
}
|
||||
app.setState(execModeProcessProposal, header)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user