Skip to content

Commit

Permalink
Merge pull request #254 from OffchainLabs/add-headerbynumber-nodeinte…
Browse files Browse the repository at this point in the history
…rfacebackendapi

add HeaderByNumber method to NodeInterfaceBackendAPI interface
  • Loading branch information
PlasmaPower authored Sep 13, 2023
2 parents 819425c + 3f2e789 commit a0ade14
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/arbitrum_hooks.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit a0ade14

Please sign in to comment.