Eric
c391f03e89
fix(ci): macos-14-xlarge is arm64
2025-06-05 23:42:12 +10:00
Eric
bfccbce5fb
fix(ci): Revert to arm64 for all other tests besides integration tests
2025-06-05 23:06:41 +10:00
Eric
d9e864c8ff
fix(integration): remove eventually where not necessarily needed
2025-06-05 18:51:07 +10:00
Eric
f0c4338ded
fix(integration): Increase poll interval on codex client calls
...
To hopefully prevent the http client from crashing in CI
2025-06-05 18:28:20 +10:00
Eric
4dec2e90dc
fix rebase
2025-06-05 16:26:02 +10:00
Eric
c4c454e6cd
contracts: fix hardhat modifier error
2025-06-05 16:00:06 +10:00
Dmitriy Ryajov
0442b8f23c
remove echo (todo: fix trace log)
2025-06-05 15:58:18 +10:00
Dmitriy Ryajov
71fdf952cf
refactor: simplify error handling in suggestDownloadTool and enhance test setup for CLI
2025-06-05 15:58:17 +10:00
Dmitriy Ryajov
ebf4ce4c6f
chore: add project documentation and update test configurations
2025-06-05 15:58:17 +10:00
Dmitriy Ryajov
6201ce0ed8
feat: add single-block slot proof tests and update NimGroth16 backend configuration
2025-06-05 15:58:17 +10:00
Dmitriy Ryajov
878063cafd
refactor: replace circom-wasm with circom-graph and update G1/G2 point conversions
2025-06-05 15:58:17 +10:00
Dmitriy Ryajov
959241e8e5
feat: improve prover logging and add NimGroth16 prover tests
2025-06-05 15:58:17 +10:00
Dmitriy Ryajov
a202eb8938
refactor: rename proverBackendCmd to proverBackend and standardize enum values
2025-06-05 15:58:17 +10:00
Dmitriy Ryajov
8b1d9b86c4
restore tests
2025-06-05 15:58:16 +10:00
Dmitriy Ryajov
25eb2374aa
Update subproject commits for circom-witnessgen and nim-groth16
2025-06-05 15:58:16 +10:00
Dmitriy Ryajov
acadfa15a6
Avoid using pointer to task, use the actual task object. Add some checked exceptions
2025-06-05 15:58:16 +10:00
Dmitriy Ryajov
318dc20fa0
Fix typo in testproverfactory.nim: correct getZKeyFile to getZkeyFile
2025-06-05 15:58:16 +10:00
Dmitriy Ryajov
12eb464e3b
Fix import statement in testslots.nim: replace testbackendfactory with testproverfactory
2025-06-05 15:58:16 +10:00
Dmitriy Ryajov
8e25bb5232
Add ProverBackendCmd enum and update configuration for nimGroth16 and circomCompat backends
2025-06-05 15:58:16 +10:00
Dmitriy Ryajov
aaca013ff5
Refactor codebase: enhance error handling, improve type definitions, and streamline async procedures
2025-06-05 15:58:15 +10:00
Dmitriy Ryajov
6ec73f396d
Refactor SlotsBuilder and DataSampler types to use generic parameters SomeTree and SomeHash
2025-06-05 15:58:15 +10:00
Dmitriy Ryajov
086e6f10e0
Refactor backend structure: remove unused files, add NimGroth16 support, and enhance prover functionality
2025-06-05 15:58:15 +10:00
Dmitriy Ryajov
a77dcc14bd
Refactor Circom compatibility backend and add NimGroth16 backend implementation
2025-06-05 15:58:15 +10:00
Dmitriy Ryajov
8599877995
Remove vendor/threading submodule
2025-06-05 15:58:15 +10:00
Dmitriy Ryajov
d069e183b3
adding circom-witnessgen
2025-06-05 15:58:15 +10:00
Dmitriy Ryajov
c5881e36da
adding goldilocks deps
2025-06-05 15:58:14 +10:00
Dmitriy Ryajov
812b39e28f
adding deps
2025-06-05 15:58:14 +10:00
Dmitriy Ryajov
ed3b060dbb
wip nim groth16
2025-06-05 15:58:14 +10:00
Dmitriy Ryajov
493e3eb601
adding threading dep
2025-06-05 15:58:14 +10:00
Dmitriy Ryajov
b4c771be73
adding nim-groth16 dep
2025-06-05 15:58:14 +10:00
Eric
8e35f38fb7
fix(CI): change all macos runners to amd64
2025-06-05 15:58:14 +10:00
Eric
649bd480d2
fix(CI): change macos runner arch type to amd64
2025-06-05 15:58:13 +10:00
Eric
8a2394af95
contracts: increase period duration for windows ci
2025-06-05 15:58:13 +10:00
Eric
564551811f
Update ci.yml to be in line with master
2025-06-05 15:58:13 +10:00
Eric
69628f41f8
disable ccache symlink
...
Permission denied creating the symlink in CI
2025-06-05 15:58:13 +10:00
Eric
aa00566d29
update to websockets addresses for hardhat connection
...
Also, catch exceptions on JsonRpcProvider.close, which should not need to be done, as this routine should not raise any exceptions.
2025-06-05 15:58:13 +10:00
Eric
4616c48931
revert posix-only verbose unittest output
...
It didn't fix the error with invalid proofs in windows in ci
2025-06-05 15:58:13 +10:00
Eric
2bfd5241e3
fix previous commit compilation
2025-06-05 15:58:12 +10:00
Eric
7c00329d90
try removing verbose output to see if windows ci passes
2025-06-05 15:58:12 +10:00
Eric
8f4dae1b60
logging: show test setup/teardown in logs
2025-06-05 15:58:12 +10:00
Eric
348764550b
try increasing polling interval to see if this has an effect on windows in ci
2025-06-05 15:58:12 +10:00
Eric
eebeb8abbf
verbose unittest2 output to stdout
2025-06-05 15:58:12 +10:00
Eric
b8b93d7981
update after rebase
2025-06-05 15:58:12 +10:00
Eric
b86f995ab0
re-enable all CI tests
...
Also adds a condition such that a hardhat node is not started for parallel integration tests
2025-06-05 15:58:11 +10:00
Eric
9d605a554e
formatting
2025-06-05 15:58:11 +10:00
Eric
98a828e620
fix compilation errors in windows
2025-06-05 15:58:11 +10:00
Eric
8fcd97738d
fix eventually symbol resolution
...
Because `eventuallySafe` calls the symbol `eventually`, it should be declared before `proc eventually` is declared to avoid ambiguous symbol lookups.
2025-06-05 15:58:11 +10:00
Eric
cff38a7eee
force kill windows test processes
...
In situations like timeouts, windows will hang when attempting to close the test process streams. In this case, we have to force kill the test process externally. This is the same process as force killing hardhat nodes after they are already terminated, but windows refuses hangs when closing their process streams. This commit creates a forceKillProcess utility that allows a process to be killed by its process name and matching commandline criteria, like TestId (for test process) or --port (for hardhat)
2025-06-05 15:58:11 +10:00
Eric
e99dc1dc9c
Reinstate unittest > unittest2, move eventually to ./asynctest
2025-06-05 15:58:11 +10:00
Eric
660a0e27b5
Don't store hardhat logs in memory and do not print to term even if DebugHardhat=true
...
Hardhat output is logged to file in hardhat.log for each test, and printing to screen is not necessarily needed as it is already logged to file and can create clutter in the output, so stop writing logging output to memory and writing to screen.
2025-06-05 15:58:10 +10:00