622 Commits

Author SHA1 Message Date
Mark Spanbroek
2a1ef5d9e6
clock: use wall clock in integration tests
reason: we'll need to wait for the next period in
integration tests, and we can't do that if the
time doesn't advance
2024-02-22 09:30:50 +01:00
Mark Spanbroek
d442cc80d7
clock: add 1 second leeway before acting on timeouts 2024-02-22 09:30:48 +01:00
Mark Spanbroek
ed47edfe69
market: use pending blocktag when querying onchain state 2024-02-22 06:58:50 +01:00
Mark Spanbroek
3a6db45e14
integration: fix proof parameters for a test
Increased times due to ZK proof generation.
Increased storage requirement because we're now hosting
5 slots instead of 1.
2024-02-21 14:24:17 +01:00
Mark Spanbroek
906779fba0
contracts: cleanup 2024-02-21 14:23:26 +01:00
Mark Spanbroek
1c04c4d1ff
contracts: update G2Point definition 2024-02-21 14:23:26 +01:00
Mark Spanbroek
555dd6ef8b
update codex-contracts-eth 2024-02-21 14:23:26 +01:00
Eric
27b7aca63d
update testmarketplace to new api, with valid EC params 2024-02-21 18:52:08 +11:00
Eric
2860f8a041
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.
2024-02-21 18:27:07 +11:00
Eric
621e8cf4f6
remove unneeded gcsafes 2024-02-21 16:43:25 +11:00
Eric
796040e1f2
remove parsedCli from CodexConfig
Instead, parse the cli args on the fly when needed
2024-02-21 16:19:59 +11:00
Eric
8dd0a420c6
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.
2024-02-21 16:09:43 +11:00
Dmitriy Ryajov
d159af763f
merge master 2024-02-19 13:34:46 -06:00
Dmitriy Ryajov
23275b67ba
merge master 2024-02-19 13:34:46 -06:00
Dmitriy Ryajov
64ad28ce99
fix workflow 2024-02-19 13:34:46 -06:00
Dmitriy Ryajov
f4af9ebd9f
fix cli tests 2024-02-19 13:34:46 -06:00
Dmitriy Ryajov
aac27d0fe7
update circuit artifacts path 2024-02-19 13:34:46 -06:00
Dmitriy Ryajov
cba998fc12
make verifier a cmd option 2024-02-19 13:34:46 -06:00
Dmitriy Ryajov
189ba80635
merge #663 2024-02-19 13:34:45 -06:00
Dmitriy Ryajov
95b249c083
fix to match constructor arguments 2024-02-19 13:34:43 -06:00
Dmitriy Ryajov
d1b2b96383
use correct stores 2024-02-19 13:34:22 -06:00
Dmitriy Ryajov
42d4a5c234
use push raises 2024-02-19 13:33:37 -06:00
Dmitriy Ryajov
d75a33af49
styling 2024-02-19 13:33:37 -06:00
Dmitriy Ryajov
4c69d3f43c
styling 2024-02-19 13:33:37 -06:00
Dmitriy Ryajov
02004e26b4
Update deps (#67)
* update nim-presto

* update asynctest to latest

* upgrading deps
2024-02-19 13:33:37 -06:00
Dmitriy Ryajov
b7c736b34c
use parens around =? (await...) calls 2024-02-19 13:33:37 -06:00
Dmitriy Ryajov
3ce68f696e
make errors more searchable 2024-02-19 13:33:37 -06:00
Dmitriy Ryajov
90acd52d1d
use correct dataset geometry in erasure 2024-02-19 13:33:36 -06:00
Dmitriy Ryajov
947b3dadc0
misc 2024-02-19 13:33:36 -06:00
Dmitriy Ryajov
3996d4fb81
misc 2024-02-19 13:33:36 -06:00
Dmitriy Ryajov
b76fe82f79
make block and manifest object instead of ref 2024-02-19 13:33:36 -06:00
Dmitriy Ryajov
6a0a5326a7
bump time to give nodes time to load with all circom artifacts 2024-02-19 13:33:36 -06:00
Dmitriy Ryajov
a001b69633
update 2024-02-19 13:33:36 -06:00
Dmitriy Ryajov
65a1f19626
add circom compat to solidity groth16 convertion 2024-02-19 13:33:36 -06:00
Mark Spanbroek
5f1c1bb3df
Add "prover" cli command to tests 2024-02-19 13:33:35 -06:00
Mark Spanbroek
ed8bc7bd29
Use circuit assets from codex-contract-eth in tests 2024-02-19 13:33:35 -06:00
Mark Spanbroek
de5010e5d8
Update codex-contracts-eth 2024-02-19 13:33:35 -06:00
Dmitriy Ryajov
a726075455
remove extraneous file 2024-02-19 13:33:35 -06:00
Dmitriy Ryajov
afe97514d4
update tests 2024-02-19 13:33:35 -06:00
Dmitriy Ryajov
5ec9269c05
moving circom params under prover command 2024-02-19 13:33:35 -06:00
Dmitriy Ryajov
ee36414046
Update deps (#67)
* update nim-presto

* update asynctest to latest

* upgrading deps
2024-02-19 13:33:35 -06:00
Mark Spanbroek
dccb487d70
Initial commit 2024-02-19 13:33:34 -06:00
Mark Spanbroek
6b301bddb6
Fix: simulateProofFailures option is not for validator 2024-02-19 13:33:34 -06:00
Eric
53f6eae9f6
format challenges in logs 2024-02-19 13:33:34 -06:00
Dmitriy Ryajov
e211b66305
fix nodes and tolerance to match expected params 2024-02-19 13:33:24 -06:00
Dmitriy Ryajov
78b7dc93dd
adding usefull traces 2024-02-19 13:33:24 -06:00
Eric
24affef5e6
Update cli integration tests 2024-02-19 13:33:08 -06:00
Dmitriy Ryajov
bb5c9d8bc0
misc 2024-02-19 13:33:08 -06:00
Dmitriy Ryajov
b0f54ab9ad
use nimOldCaseObjects switch for nim confutils compat 2024-02-19 13:33:07 -06:00
Dmitriy Ryajov
20b156d0ff
persistence is a command now 2024-02-19 13:33:07 -06:00