evm: set chainID in context during BeginBlock
(#130)
This commit is contained in:
parent
d4f742cb6d
commit
d3c5df9dda
@ -20,6 +20,7 @@ import (
|
||||
func (k *Keeper) BeginBlock(ctx sdk.Context, req abci.RequestBeginBlock) {
|
||||
defer telemetry.ModuleMeasureSince(types.ModuleName, time.Now(), telemetry.MetricKeyBeginBlocker)
|
||||
k.WithContext(ctx)
|
||||
k.WithChainID(ctx)
|
||||
k.headerHash = common.BytesToHash(req.Hash)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user