Skip to content

@armada/sdk / index / ProofVerificationError

Class: ProofVerificationError

Defined in: src/errors.ts:61

A freshly generated proof failed local verification against its own verifying key (SPEC §4.5). It would revert on-chain, so proving surfaces this immediately rather than after a submitted transaction — a witness-assembly or corrupted-artifact bug, caught before the tx is broadcast.

Extends

Constructors

Constructor

new ProofVerificationError(message, options?): ProofVerificationError

Defined in: src/errors.ts:6

Parameters

message

string

options?
cause?

unknown

Returns

ProofVerificationError

Inherited from

ArmadaError.constructor

Properties

code

readonly code: "PROOF_VERIFICATION" = 'PROOF_VERIFICATION'

Defined in: src/errors.ts:62

Overrides

ArmadaError.code