nim-codex/tests/integration
Ben Bierens 4e8630791a
Rework circuit downloader (#882)
* Introduces a start method to prover

* Moves backend creation into start method

* sets up three paths for backend initialization

* Extracts backend initialization to backend-factory

* Implements loading backend from cli files or previously downloaded local files

* Wires up downloading and unzipping

* functional implementation

* Fixes testprover.nim

* Sets up tests for backendfactory

* includes libzip-dev

* pulls in updated contracts

* removes integration cli tests for r1cs, wasm, and zkey file arguments.

* Fixes issue where inner-scope values are lost before returning

* sets local proof verification for dist-test images

* Adds two traces and bumps nim-ethers

* Adds separate path for circuit files

* Create circuit dir if not exists

* fix: make sure requestStorage is mined

* fix: correct place to plug confirm

* test: fixing contracts tests

* Restores gitmodules

* restores nim-datastore reference

* Sets up downloader exe

* sets up tool skeleton

* implements getting of circuit hash

* Implements downloader tool

* sets up test skeleton

* Implements test for cirdl

* includes testTools in testAll

* Cleanup building.md

* cleans up previous downloader implementation

* cleans up testbackendfactory

* moves start of prover into node.nim

* Fills in arguments in example command

* Initializes backend in prover constructor

* Restores tests

* Restores tests for cli instructions

* Review comments by Dmitriy, part 1

* Quotes path in download instruction.

* replaces curl with chronos http session

* Moves cirdl build output to 'build' folder.

* Fixes chronicles log output

* Add cirdl support to the codex Dockerfile

Signed-off-by: Slava <20563034+veaceslavdoina@users.noreply.github.com>

* Add cirdl support to the docker entrypoint

Signed-off-by: Slava <20563034+veaceslavdoina@users.noreply.github.com>

* Add cirdl support to the release workflow

Signed-off-by: Slava <20563034+veaceslavdoina@users.noreply.github.com>

* Disable verify_circuit flag for releases

Signed-off-by: Slava <20563034+veaceslavdoina@users.noreply.github.com>

* Removes backendFactory placeholder type

* wip

* Replaces zip library with status-im/zippy library (which supports zip and tar)

* Updates cirdl to not change circuitdir folder

* Switches from zip to tar.gz

* Review comments by Dmitriy

* updates codex-contracts-eth

* Adds testTools to CI

* Adds check for access to config.circuitdir

* Update fixture circuit zkey

* Update matrix to run tools tests on Windows

* Adds 'deps' dependency for cirdl

* Adjust docker-entrypoint.sh to use CODEX_CIRCUIT_DIR env var

* Review comments by Giuliano

---------

Signed-off-by: Slava <20563034+veaceslavdoina@users.noreply.github.com>
Co-authored-by: Adam Uhlíř <adam@uhlir.dev>
Co-authored-by: Veaceslav Doina <20563034+veaceslavdoina@users.noreply.github.com>
2024-09-23 14:37:17 +00:00
..
clioption.nim Prover CLI updates (#735) 2024-03-12 09:57:13 +00:00
codexclient.nim feat(rest): adds erasure coding constraints when requesting storage (#848) 2024-06-27 21:26:19 +00:00
codexconfig.nim Prover CLI updates (#735) 2024-03-12 09:57:13 +00:00
codexprocess.nim Chronos v4 Update (v3 Compat Mode) (#814) 2024-07-18 21:04:33 +00:00
hardhatconfig.nim Prover CLI updates (#735) 2024-03-12 09:57:13 +00:00
hardhatprocess.nim Chronos v4 Update (v3 Compat Mode) (#814) 2024-07-18 21:04:33 +00:00
marketplacesuite.nim feat: expiry specified with number of seconds (#793) 2024-05-06 17:35:46 +02:00
multinodes.nim Cleanup integration tests (#757) 2024-05-23 15:29:30 +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 Chronos v4 Update (v3 Compat Mode) (#814) 2024-07-18 21:04:33 +00:00
nodes.nim Wire up prover (#736) 2024-03-12 12:10:14 +00:00
testblockexpiration.nim Fix REST endpoints semantics (#612) 2023-11-20 16:14:06 -08:00
testcli.nim Rework circuit downloader (#882) 2024-09-23 14:37:17 +00:00
testecbug.nim Fix verifiable manifest constructor (#844) 2024-06-26 20:02:39 +00:00
testmarketplace.nim Cleanup integration tests (#757) 2024-05-23 15:29:30 +00:00
testproofs.nim feat(api): availabilities patch endpoint (#692) 2024-03-21 10:53:45 +00:00
testpurchasing.nim feat(rest): adds erasure coding constraints when requesting storage (#848) 2024-06-27 21:26:19 +00:00
testrestapi.nim feat(rest): adds erasure coding constraints when requesting storage (#848) 2024-06-27 21:26:19 +00:00
testsales.nim Cleanup integration tests (#757) 2024-05-23 15:29:30 +00:00
testupdownload.nim Cleanup integration tests (#757) 2024-05-23 15:29:30 +00:00
twonodes.nim Cleanup integration tests (#757) 2024-05-23 15:29:30 +00:00