ethereumjs-monorepo

@ethereumjs/util


@ethereumjs/util / generateCodeStems

Function: generateCodeStems()

generateCodeStems(numChunks, address, verkleCrypto): Promise<Uint8Array<ArrayBufferLike>[]>

Defined in: packages/util/src/verkle.ts:381

Helper method for generating the code stems necessary for putting code

Parameters

numChunks

number

the number of code chunks to be put

address

Address

the address of the account getting the code

verkleCrypto

VerkleCrypto

an initialized VerkleCrypto object

Returns

Promise<Uint8Array<ArrayBufferLike>[]>

an array of stems for putting code