ethereumjs-monorepo

@ethereumjs/evm


@ethereumjs/evm / EVMMockBlockchain

Class: EVMMockBlockchain

Defined in: types.ts:507

Implements

Constructors

Constructor

new EVMMockBlockchain(): EVMMockBlockchain

Returns

EVMMockBlockchain

Methods

getBlock()

getBlock(): Promise<{ hash: Uint8Array<ArrayBuffer>; }>

Defined in: types.ts:508

Returns

Promise<{ hash: Uint8Array<ArrayBuffer>; }>

Implementation of

EVMMockBlockchainInterface.getBlock


putBlock()

putBlock(): Promise<void>

Defined in: types.ts:515

Returns

Promise<void>

Implementation of

EVMMockBlockchainInterface.putBlock


shallowCopy()

shallowCopy(): EVMMockBlockchain

Defined in: types.ts:516

Returns

EVMMockBlockchain

Implementation of

EVMMockBlockchainInterface.shallowCopy