Skip to content

@armada/sdk / index / VerifiedArtifactSource

Class: VerifiedArtifactSource ​

Defined in: src/prover/manifest.ts:76

Wraps an ArtifactSource, verifying integrity against a manifest on every resolve.

Implements ​

Constructors ​

Constructor ​

new VerifiedArtifactSource(inner, manifest): VerifiedArtifactSource

Defined in: src/prover/manifest.ts:77

Parameters ​

inner ​

ArtifactSource

manifest ​

ArtifactManifest

Returns ​

VerifiedArtifactSource

Methods ​

resolve() ​

resolve(shape, options?): Promise<ArtifactSet>

Defined in: src/prover/manifest.ts:82

Parameters ​

shape ​

CircuitShape

options? ​

ArtifactResolveOptions

Returns ​

Promise<ArtifactSet>

Implementation of ​

ArtifactSource.resolve