nim-dagger/tests
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
..
circuits/fixtures Prover works with zkey (#711) 2024-02-19 18:58:39 +00:00
codex Fix sales agent (#733) 2024-03-12 06:41:03 +00:00
contracts Prover CLI updates (#735) 2024-03-12 09:57:13 +00:00
fixtures Node setup (#32) 2022-01-10 09:32:56 -06:00
helpers Taiko L2 (#483) 2023-09-13 16:17:56 +02:00
integration Prover CLI updates (#735) 2024-03-12 09:57:13 +00:00
asynctest.nim update asynctest to 0.5.1 (#671) 2024-01-29 17:03:51 -03:00
checktest.nim update asynctest to 0.5.1 (#671) 2024-01-29 17:03:51 -03:00
config.nims [build] fix: ignore logging when running singular tests (#369) 2023-03-16 15:32:09 +01:00
coverage.nim Bump deps take2 (#492) 2023-08-01 16:47:57 -07:00
coverage.nims Bump deps take2 (#492) 2023-08-01 16:47:57 -07:00
ethertest.nim Fix on-chain clock (#732) 2024-03-11 16:57:20 +00:00
examples.nim Update contract (#734) 2024-03-12 08:18:25 +00:00
helpers.nim Create memory-leak detecting test suite (#226) 2023-06-22 12:01:21 -06:00
logging.nim feat: create logging proxy (#663) 2024-01-22 23:35:03 -08:00
nimlldb.py Bump deps take2 (#492) 2023-08-01 16:47:57 -07:00
testCodex.nim feat: create logging proxy (#663) 2024-01-22 23:35:03 -08:00
testContracts.nim Validator (#387) 2023-04-19 15:06:00 +02:00
testIntegration.nim refactor: multinode integration test refactor (#662) 2024-02-19 04:55:39 +00:00
testTaiko.nim update asynctest to 0.5.1 (#671) 2024-01-29 17:03:51 -03:00