Skip to main content

ZkExecutionEvidenceSchema

HardKAS SDK


HardKAS SDK / artifacts/src / ZkExecutionEvidenceSchema

Variable: ZkExecutionEvidenceSchema

const ZkExecutionEvidenceSchema: ZodObject<{ funding: ZodObject<{ accepted: ZodBoolean; amountSompi: ZodString; outputIndex: ZodNumber; txId: ZodString; utxoObserved: ZodBoolean; }, "strip", ZodTypeAny, { accepted?: boolean; amountSompi?: string; outputIndex?: number; txId?: string; utxoObserved?: boolean; }, { accepted?: boolean; amountSompi?: string; outputIndex?: number; txId?: string; utxoObserved?: boolean; }>; guestSystem: ZodLiteral<"RISC Zero">; imageId: ZodString; journalHash: ZodString; negativeCases: ZodArray<ZodObject<{ expectedPattern: ZodString; matchedExpectedPattern: ZodBoolean; rawError: ZodOptional<ZodString>; rejected: ZodBoolean; testCase: ZodString; }, "strip", ZodTypeAny, { expectedPattern?: string; matchedExpectedPattern?: boolean; rawError?: string; rejected?: boolean; testCase?: string; }, { expectedPattern?: string; matchedExpectedPattern?: boolean; rawError?: string; rejected?: boolean; testCase?: string; }>, "many">; networkId: ZodEnum<["simnet", "testnet-10"]>; node: ZodObject<{ harnessRunId: ZodOptional<ZodString>; rpcUrl: ZodString; serverVersion: ZodString; source: ZodEnum<["simnet-harness", "external"]>; }, "strip", ZodTypeAny, { harnessRunId?: string; rpcUrl?: string; serverVersion?: string; source?: "simnet-harness" | "external"; }, { harnessRunId?: string; rpcUrl?: string; serverVersion?: string; source?: "simnet-harness" | "external"; }>; notes: ZodOptional<ZodArray<ZodString, "many">>; outcome: ZodEnum<["ALL_AS_EXPECTED", "DEVIATIONS"]>; p2shAddress: ZodString; precompile: ZodObject<{ curve: ZodLiteral<"BN254">; opcode: ZodLiteral<"0xa6">; opcodeName: ZodLiteral<"OpZkPrecompile">; provingSystem: ZodLiteral<"Groth16">; tag: ZodLiteral<"0x20">; }, "strip", ZodTypeAny, { curve?: "BN254"; opcode?: "0xa6"; opcodeName?: "OpZkPrecompile"; provingSystem?: "Groth16"; tag?: "0x20"; }, { curve?: "BN254"; opcode?: "0xa6"; opcodeName?: "OpZkPrecompile"; provingSystem?: "Groth16"; tag?: "0x20"; }>; redeemScriptHash: ZodString; schema: ZodLiteral<"hardkas.zk.executionEvidence.v1">; spend: ZodObject<{ accepted: ZodBoolean; blockDaaScore: ZodOptional<ZodString>; computeBudget: ZodNumber; feeSompi: ZodString; payoutAddress: ZodString; payoutSompi: ZodString; payoutUtxoObserved: ZodBoolean; rawError: ZodOptional<ZodString>; txId: ZodOptional<ZodString>; }, "strip", ZodTypeAny, { accepted?: boolean; blockDaaScore?: string; computeBudget?: number; feeSompi?: string; payoutAddress?: string; payoutSompi?: string; payoutUtxoObserved?: boolean; rawError?: string; txId?: string; }, { accepted?: boolean; blockDaaScore?: string; computeBudget?: number; feeSompi?: string; payoutAddress?: string; payoutSompi?: string; payoutUtxoObserved?: boolean; rawError?: string; txId?: string; }>; timestamp: ZodString; }, "strip", ZodTypeAny, { funding?: { accepted?: boolean; amountSompi?: string; outputIndex?: number; txId?: string; utxoObserved?: boolean; }; guestSystem?: "RISC Zero"; imageId?: string; journalHash?: string; negativeCases?: object[]; networkId?: "simnet" | "testnet-10"; node?: { harnessRunId?: string; rpcUrl?: string; serverVersion?: string; source?: "simnet-harness" | "external"; }; notes?: string[]; outcome?: "ALL_AS_EXPECTED" | "DEVIATIONS"; p2shAddress?: string; precompile?: { curve?: "BN254"; opcode?: "0xa6"; opcodeName?: "OpZkPrecompile"; provingSystem?: "Groth16"; tag?: "0x20"; }; redeemScriptHash?: string; schema?: "hardkas.zk.executionEvidence.v1"; spend?: { accepted?: boolean; blockDaaScore?: string; computeBudget?: number; feeSompi?: string; payoutAddress?: string; payoutSompi?: string; payoutUtxoObserved?: boolean; rawError?: string; txId?: string; }; timestamp?: string; }, { funding?: { accepted?: boolean; amountSompi?: string; outputIndex?: number; txId?: string; utxoObserved?: boolean; }; guestSystem?: "RISC Zero"; imageId?: string; journalHash?: string; negativeCases?: object[]; networkId?: "simnet" | "testnet-10"; node?: { harnessRunId?: string; rpcUrl?: string; serverVersion?: string; source?: "simnet-harness" | "external"; }; notes?: string[]; outcome?: "ALL_AS_EXPECTED" | "DEVIATIONS"; p2shAddress?: string; precompile?: { curve?: "BN254"; opcode?: "0xa6"; opcodeName?: "OpZkPrecompile"; provingSystem?: "Groth16"; tag?: "0x20"; }; redeemScriptHash?: string; schema?: "hardkas.zk.executionEvidence.v1"; spend?: { accepted?: boolean; blockDaaScore?: string; computeBudget?: number; feeSompi?: string; payoutAddress?: string; payoutSompi?: string; payoutUtxoObserved?: boolean; rawError?: string; txId?: string; }; timestamp?: string; }>

Defined in: packages/artifacts/src/schemas.ts:1665

Evidence of ONE run against ONE real node raised by the simnet harness. It records what the node answered, including failures: nothing in this schema can only express success, and it carries no score or maturity claim (Phase 3 remediation, L-07).