ethereumjs-monorepo

@ethereumjs/evm


@ethereumjs/evm / EVMMockBlockchainInterface

Interface: EVMMockBlockchainInterface

Defined in: types.ts:554

Methods

getBlock()

getBlock(blockId): Promise<EVMMockBlock>

Defined in: types.ts:555

Parameters

blockId

number

Returns

Promise<EVMMockBlock>


putBlock()

putBlock(block): Promise<void>

Defined in: types.ts:556

Parameters

block

EVMMockBlock

Returns

Promise<void>


shallowCopy()

shallowCopy(): EVMMockBlockchainInterface

Defined in: types.ts:557

Returns

EVMMockBlockchainInterface