ethereumjs-monorepo

@ethereumjs/util


@ethereumjs/util / verifyVerkleProof

Function: verifyVerkleProof()

verifyVerkleProof(verkleCrypto, executionWitness): boolean

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

Verifies that the executionWitness is valid for the given prestateRoot.

Parameters

verkleCrypto

VerkleCrypto

The VerkleCrypto foreign function interface object from Verkle cryptography

executionWitness

VerkleExecutionWitness

The verkle execution witness.

Returns

boolean

Whether or not the executionWitness belongs to the prestateRoot.