ethereumjs-monorepo

@ethereumjs/mpt


@ethereumjs/mpt / genesisMPTStateRoot

Function: genesisMPTStateRoot()

genesisMPTStateRoot(genesisState): Promise<Uint8Array<ArrayBufferLike>>

Defined in: packages/mpt/src/util/genesisState.ts:18

Derives the stateRoot of the genesis block based on genesis allocations

Parameters

genesisState

GenesisState

Returns

Promise<Uint8Array<ArrayBufferLike>>