nim-codex/codex
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
..
blockexchange Fix block retransmit (#651) 2024-02-29 07:37:12 +00:00
contracts Update contract (#734) 2024-03-12 08:18:25 +00:00
erasure cleanup manifest and wire in strategy (#696) 2024-02-07 20:54:57 +00:00
manifest Block and manifest as objects (#708) 2024-02-19 02:10:16 +00:00
merkletree Rework builder & sampler (#697) 2024-02-08 02:27:11 +00:00
purchasing Fix sales agent (#733) 2024-03-12 06:41:03 +00:00
rest Revert "remove call to `waitFor` from clock.now and make it async (#691)" (#707) 2024-02-16 22:12:16 +00:00
sales Fix sales agent (#733) 2024-03-12 06:41:03 +00:00
slots Update contract (#734) 2024-03-12 08:18:25 +00:00
stores Revert "remove call to `waitFor` from clock.now and make it async (#691)" (#707) 2024-02-16 22:12:16 +00:00
streams Block and manifest as objects (#708) 2024-02-19 02:10:16 +00:00
utils Rework builder & sampler (#697) 2024-02-08 02:27:11 +00:00
blockexchange.nim Change every dagger to codex (#102) 2022-05-19 13:56:03 -06:00
blocktype.nim Block and manifest as objects (#708) 2024-02-19 02:10:16 +00:00
chunker.nim feat: create logging proxy (#663) 2024-01-22 23:35:03 -08:00
clock.nim Revert "remove call to `waitFor` from clock.now and make it async (#691)" (#707) 2024-02-16 22:12:16 +00:00
codex.nim Prover CLI updates (#735) 2024-03-12 09:57:13 +00:00
codextypes.nim wire in circom backend (#698) 2024-02-09 21:40:30 +00:00
conf.nim Prover CLI updates (#735) 2024-03-12 09:57:13 +00:00
contracts.nim feat: contract address management (#405) 2023-05-03 09:24:25 +02:00
discovery.nim feat: create logging proxy (#663) 2024-01-22 23:35:03 -08:00
erasure.nim Improving proc/func formatting consistency (#454) 2023-06-22 08:11:18 -07:00
errors.nim Build slots (#668) 2024-01-11 08:45:23 -08:00
indexingstrategy.nim rework indexing strategy to use an enum (#694) 2024-02-07 11:13:27 -08:00
logutils.nim feat: create logging proxy (#663) 2024-01-22 23:35:03 -08:00
manifest.nim Update multicodecs (#665) 2023-12-22 13:04:01 +01:00
market.nim Smart contracts update: Groth16Proof instead of bytes (#683) 2024-02-07 07:50:35 +01:00
merkletree.nim Build slots (#668) 2024-01-11 08:45:23 -08:00
namespaces.nim Blockexchange uses merkle root and index to fetch blocks (#566) 2023-11-14 13:02:17 +01:00
node.nim Node use correct stores (#710) 2024-02-19 10:12:10 -08:00
periods.nim Validator (#387) 2023-04-19 15:06:00 +02:00
purchasing.nim Revert "remove call to `waitFor` from clock.now and make it async (#691)" (#707) 2024-02-16 22:12:16 +00:00
rng.nim track latest nim-libp2p's master branch (#248) 2022-11-02 11:40:28 -06:00
sales.nim feat: create logging proxy (#663) 2024-01-22 23:35:03 -08:00
slots.nim wire in circom backend (#698) 2024-02-09 21:40:30 +00:00
stores.nim Rework merkle tree (#654) 2023-12-21 06:41:43 +00:00
streams.nim adding AsyncStreamWrapper (#110) 2022-06-14 09:19:35 -06:00
systemclock.nim Revert "remove call to `waitFor` from clock.now and make it async (#691)" (#707) 2024-02-16 22:12:16 +00:00
units.nim feat: create logging proxy (#663) 2024-01-22 23:35:03 -08:00
utils.nim Fixes active cancellation for pending want requests (#714) 2024-02-22 14:54:45 +00:00
validation.nim Revert "remove call to `waitFor` from clock.now and make it async (#691)" (#707) 2024-02-16 22:12:16 +00:00