nim-dagger/tests/integration
markspanbroek 293c676f22
Prover CLI updates (#735)
* rework cli to accept circuit params

* check circom files extension

* adding new required cli changes

* don't use ufcs

* persistence is a command now

* use `nimOldCaseObjects` switch for nim confutils compat

* misc

* Update cli integration tests

* Fix: simulateProofFailures option is not for validator

* moving circom params under `prover` command

* update tests

* Use circuit assets from codex-contract-eth in tests

* Add "prover" cli command to tests

* use correct stores

* make `verifier` a cmd option

* update circuit artifacts path

* fix cli tests

* Update integration tests to use cli commands

Integration tests have been updated to use the new cli commands. The api for usage in the integration tests has also changed a bit.

Proofs tests have been updated to use 5 nodes and 8 blocks of data. The remaining integration tests also need to be updated.

* remove parsedCli from CodexConfig

Instead, parse the cli args on the fly when needed

* remove unneeded gcsafes

* graceful shutdowns

Where possible, do not raise assert, as other nodes in the test may already be running. Instead, raise exceptions, catch them in multinodes.nim, and attempt to do a teardown before failing the test.

`abortOnError` is set to true so that `fail()` will quit immediately, after teardown has been run.

* update testmarketplace to new api, with valid EC params

---------

Co-authored-by: Dmitriy Ryajov <dryajov@gmail.com>
Co-authored-by: Eric <5089238+emizzle@users.noreply.github.com>
2024-03-12 09:57:13 +00:00
..
clioption.nim Prover CLI updates (#735) 2024-03-12 09:57:13 +00:00
codexclient.nim refactor: multinode integration test refactor (#662) 2024-02-19 04:55:39 +00:00
codexconfig.nim Prover CLI updates (#735) 2024-03-12 09:57:13 +00:00
codexprocess.nim Prover CLI updates (#735) 2024-03-12 09:57:13 +00:00
hardhatconfig.nim Prover CLI updates (#735) 2024-03-12 09:57:13 +00:00
hardhatprocess.nim refactor: multinode integration test refactor (#662) 2024-02-19 04:55:39 +00:00
marketplacesuite.nim Update contract (#734) 2024-03-12 08:18:25 +00:00
multinodes.nim Prover CLI updates (#735) 2024-03-12 09:57:13 +00:00
nodeconfig.nim refactor: multinode integration test refactor (#662) 2024-02-19 04:55:39 +00:00
nodeconfigs.nim Prover CLI updates (#735) 2024-03-12 09:57:13 +00:00
nodeprocess.nim Prover CLI updates (#735) 2024-03-12 09:57:13 +00:00
nodes.nim Prover CLI updates (#735) 2024-03-12 09:57:13 +00:00
testIntegration.nim refactor: multinode integration test refactor (#662) 2024-02-19 04:55:39 +00:00
testblockexpiration.nim Fix REST endpoints semantics (#612) 2023-11-20 16:14:06 -08:00
testcli.nim Prover CLI updates (#735) 2024-03-12 09:57:13 +00:00
testmarketplace.nim Prover CLI updates (#735) 2024-03-12 09:57:13 +00:00
testproofs.nim Prover CLI updates (#735) 2024-03-12 09:57:13 +00:00
twonodes.nim Prover CLI updates (#735) 2024-03-12 09:57:13 +00:00