feat: add apphash to process proposal calls (backport #17401) (#17413)

Co-authored-by: fx0x55 <80245546+fx0x55@users.noreply.github.com>
This commit is contained in:
mergify[bot]
2023-08-17 14:33:39 +02:00
committed by GitHub
co-authored by fx0x55
parent e19fb38ff5
commit 116e279e5a
+2
View File
@@ -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)