fix rebase

This commit is contained in:
Eric 2025-06-05 16:26:02 +10:00
parent c4c454e6cd
commit 4dec2e90dc
No known key found for this signature in database
2 changed files with 8 additions and 6 deletions

View File

@ -268,15 +268,15 @@ template multinodesuite*(suiteName: string, body: untyped) =
)
config.addCliOption(
PersistenceCmd.prover, "--circom-r1cs",
"vendor/codex-contracts-eth/verifier/networks/hardhat/proof_main.r1cs",
"tests/circuits/fixtures/proof_main.r1cs",
)
config.addCliOption(
PersistenceCmd.prover, "--circom-wasm",
"vendor/codex-contracts-eth/verifier/networks/hardhat/proof_main.wasm",
PersistenceCmd.prover, "--circom-graph",
"tests/circuits/fixtures/proof_main.bin",
)
config.addCliOption(
PersistenceCmd.prover, "--circom-zkey",
"vendor/codex-contracts-eth/verifier/networks/hardhat/proof_main.zkey",
"tests/circuits/fixtures/proof_main.zkey",
)
return await newCodexProcess(providerIdx, config, Role.Provider)

View File

@ -88,8 +88,10 @@ asyncchecksuite "Command line interface":
await node.stop(expectedErrCode = 1)
discard removeFile(unsafeKeyFile)
let expectedDownloadInstruction =
"Proving circuit files are not found. Please run the following to download them:"
let
marketplaceArg = "--marketplace-address=" & $EthAddress.example
expectedDownloadInstruction =
"Proving circuit files are not found. Please run the following to download them:"
test "suggests downloading of circuit files when persistence is enabled without accessible r1cs file":
let node = await startCodex(@["persistence", "prover", marketplaceArg])