feat: add header hash to Context (#9390)
* baseapp, types: add header hash to * changelog
This commit is contained in:
+2
-1
@@ -164,7 +164,8 @@ func (app *BaseApp) BeginBlock(req abci.RequestBeginBlock) (res abci.ResponseBeg
|
||||
// by InitChain. Context is now updated with Header information.
|
||||
app.deliverState.ctx = app.deliverState.ctx.
|
||||
WithBlockHeader(req.Header).
|
||||
WithBlockHeight(req.Header.Height)
|
||||
WithBlockHeight(req.Header.Height).
|
||||
WithHeaderHash(req.Hash)
|
||||
}
|
||||
|
||||
// add block gas meter
|
||||
|
||||
Reference in New Issue
Block a user