Skip to content

@lelantos-org/sdk / index / DEFAULT_SHAPE

Variable: DEFAULT_SHAPE โ€‹

ts
const DEFAULT_SHAPE: CircuitShape;

Defined in: @lelantos-org/sdk/dist/core/shape.d.ts:57

Shape used when a caller does not choose one.

A pool on a narrower verifier must say so explicitly โ€” connect({ shape: TRANSACT_3X3 }) or TRANSACT_2X2 โ€” because a 4ร—4 proof carries 53 public inputs and four commitments, which neither accepts. The mismatch surfaces as a rejected proof at submit time, not at connect: the SDK cannot see which verifier a pool deployed.

This also decides which artifacts resolve by default, since artifact-paths names them after the shape โ€” so changing it changes which zkey a Node caller loads without asking.

Lelantosno cookies ๐Ÿช ยท no tracking ๐Ÿ‘๏ธ ยท no accounts ๐Ÿ‘คwalletexplorer4536080GitHub