Skip to content

Commit

Permalink
evm: set chainID in context during BeginBlock (evmos#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-nguy authored Jun 15, 2021
1 parent d4f742c commit d3c5df9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x/evm/keeper/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit d3c5df9

Please sign in to comment.