From 3f2e789b3857ccdd647c319e16f1a00805d1d6bd Mon Sep 17 00:00:00 2001 From: ganeshvanahalli Date: Wed, 13 Sep 2023 09:46:11 -0500 Subject: [PATCH] add HeaderByNumber method to NodeInterfaceBackendAPI interface --- core/arbitrum_hooks.go | 1 + 1 file changed, 1 insertion(+) diff --git a/core/arbitrum_hooks.go b/core/arbitrum_hooks.go index aaaa36e064..7b57ee694f 100644 --- a/core/arbitrum_hooks.go +++ b/core/arbitrum_hooks.go @@ -55,6 +55,7 @@ type NodeInterfaceBackendAPI interface { ChainConfig() *params.ChainConfig CurrentBlock() *types.Header BlockByNumber(ctx context.Context, number rpc.BlockNumber) (*types.Block, error) + HeaderByNumber(ctx context.Context, number rpc.BlockNumber) (*types.Header, error) GetLogs(ctx context.Context, blockHash common.Hash, number uint64) ([][]*types.Log, error) GetEVM(ctx context.Context, msg *Message, state *state.StateDB, header *types.Header, vmConfig *vm.Config, blockCtx *vm.BlockContext) (*vm.EVM, func() error) }