diff --git a/consensus/bor/statefull/processor.go b/consensus/bor/statefull/processor.go index b2c61b89e7..d208125c1f 100644 --- a/consensus/bor/statefull/processor.go +++ b/consensus/bor/statefull/processor.go @@ -33,6 +33,10 @@ func (c ChainContext) GetHeader(hash common.Hash, number uint64) *types.Header { return c.Chain.GetHeader(hash, number) } +func (c ChainContext) Config() *params.ChainConfig { + return c.Chain.Config() +} + // callmsg implements core.Message to allow passing it as a transaction simulator. type Callmsg struct { ethereum.CallMsg