ethereumjs-monorepo

@ethereumjs/evm


@ethereumjs/evm / EVMMockBlockchainInterface

Interface: EVMMockBlockchainInterface

Defined in: types.ts:501

Methods

getBlock()

getBlock(blockId): Promise<EVMMockBlock>

Defined in: types.ts:502

Parameters

blockId

number

Returns

Promise<EVMMockBlock>


putBlock()

putBlock(block): Promise<void>

Defined in: types.ts:503

Parameters

block

EVMMockBlock

Returns

Promise<void>


shallowCopy()

shallowCopy(): EVMMockBlockchainInterface

Defined in: types.ts:504

Returns

EVMMockBlockchainInterface