Commit Graph

631 Commits

Author SHA1 Message Date
benbierens 0b6357ff54
Merge branch 'fix/storage-request-mined' into feature/ceremony-files 2024-05-10 09:37:14 +02:00
Adam Uhlíř 5a24258d41
test: fixing contracts tests 2024-05-09 09:57:46 +02:00
Adam Uhlíř 4d290d92f3
fix: correct place to plug confirm 2024-05-09 09:34:26 +02:00
Adam Uhlíř 5bb912007d
fix: make sure requestStorage is mined 2024-05-07 15:45:16 +02:00
Ben ea6d681bbf
Merge branch 'master' into feature/ceremony-files
# Conflicts:
#	vendor/codex-contracts-eth
2024-05-07 09:41:25 +02:00
Adam Uhlíř 1a0d2d424e
feat: expiry specified with number of seconds (#793) 2024-05-06 17:35:46 +02:00
Ben Bierens 4312e5ca36
Use a copy of slots hashset for iteration. (#801) 2024-05-06 08:12:49 +00:00
benbierens 616b237a7c
Merge branch 'master' into feature/ceremony-files 2024-05-02 08:42:03 +02:00
Ben Bierens c58d4d7dbe
Bug: Large manifests encoding (#800)
* Adds test for encoding/decoding manifests with large datasets

* switches datasetSize to uint64
2024-04-30 15:27:17 +00:00
Ben Bierens c7bc28d723
Reduce logging during file upload (#792)
* Removes warning

* Updates logging for file upload

* Restores trace for placing block and proof in repo store
2024-04-30 09:31:06 +00:00
Ben eea2d0c4cc
Merge branch 'master' into feature/ceremony-files 2024-04-29 10:37:11 +02:00
Ben Bierens 9365aa4d51
bumps nim-serde (#794) 2024-04-26 09:42:31 +00:00
Ben bb0829e674
Merge branch 'master' into feature/ceremony-files 2024-04-26 10:35:34 +02:00
Ben Bierens 3041f5ff5f
Announce to DHT only tree and manifest CIDs (#788)
* announce only tree and manifest cids

* wip

* Adds tests for selecting which CIDs are announced

* newline

* Review comments by Tomasz
2024-04-24 07:30:02 +00:00
benbierens 1524803fb0
Merge branch 'master' into feature/ceremony-files 2024-04-02 20:12:00 +02:00
Giuliano Mega 53809129a5
Disable Discv5 bucket and routing table IP limits (#764)
* disable Discv5 bucket and routing table IP limits

* actually configure the discovery protocol
2024-04-02 12:31:52 +00:00
Jaremy Creechley 0a34c37c87
Add Node SPR endpoint (#760)
* Create a node api section, add spr and peerid endpoints, and update twoclient

* tweak docs
2024-04-02 11:13:49 +00:00
benbierens f2f1dd51ef
Create circuit dir if not exists 2024-04-01 10:16:43 +02:00
benbierens 644c83bc6e
Merge branch 'master' into feature/ceremony-files 2024-04-01 08:04:06 +02:00
Ben Bierens 91bb972e6f
use integer instead of number (#762) 2024-03-29 18:18:41 +00:00
Eric dca9f2ee76
Use circuit artifacts in codex circuit fixtures for tests (#759) 2024-03-29 17:15:21 +00:00
Ben 4bd14a498c
Adds separate path for circuit files 2024-03-29 16:03:18 +01:00
Ben Bierens c97f973410
Adds two traces and bumps nim-ethers (#761) 2024-03-29 11:51:17 +00:00
Ben 61ea685d4a
Merge branch 'fix/wait-for-sync' into feature/ceremony-files 2024-03-28 14:03:09 +01:00
Ben 445c232259
Adds two traces and bumps nim-ethers 2024-03-28 13:28:22 +01:00
Ben cd280d468d
Merge branch 'master' into feature/ceremony-files 2024-03-27 08:09:51 +01:00
Ben Bierens 8378ac4dac
Openapi mismatches (#754)
* Aligns response with openapi spec

* Fixes json serialization for local content response

* Review comments by Mark

* Fixes missed rename

* Removes array type for dataList
2024-03-26 15:12:15 +00:00
Ben 455b95dbc9
Merge branch 'master' into feature/ceremony-files
# Conflicts:
#	docker/codex.Dockerfile
2024-03-26 08:28:06 +01:00
Ben Bierens 4038eed3c9
Copies openapi yaml into image (#751) 2024-03-25 15:23:30 +00:00
Ben c219a5f0a3
Merge branch 'master' into feature/ceremony-files
# Conflicts:
#	codex/codex.nim
2024-03-25 09:32:03 +01:00
Tomasz Bekas 59d9439ae9
Scheduling erasure coding on another thread (#716)
* Scheduling erasure coding on another thread

* Code review fixes

* Fix for review comments

* Fix missing import

---------

Co-authored-by: Dmitriy Ryajov <dryajov@gmail.com>
2024-03-23 09:56:35 +00:00
Ben 1b6244c34b
sets local proof verification for dist-test images 2024-03-22 14:56:45 +01:00
Ben 2a34c480c3
Merge branch 'master' into feature/ceremony-files 2024-03-22 11:04:35 +01:00
Adam Uhlíř de1714ed06
feat(api): availabilities patch endpoint (#692)
* feat(api): availabilities patch and reservations endpoints

* test: fixing tests and writing

* test: test reservations endpoint

* chore: feedback implementation

* chore: feedback implementation

* test: fix integration tests
2024-03-21 10:53:45 +00:00
Eric 43f0bf1c1c
refactor: add MarketError (#670)
* Add MarketError

Add MarketError and convert all EthersErrors (ProviderError, SignerError) to MarketError

* Include token contract call in conversion of ethers error
2024-03-21 00:30:04 +00:00
Ben e4ddb942a1
Merge branch 'master' into feature/ceremony-files
# Conflicts:
#	.gitmodules
2024-03-20 11:38:32 +01:00
Eric 916e4834d0
Remove codex_use_hardhat compilation flag (#741)
This flag was originally used to change OnChainClock behavior when using hardhat as an ethereum chain source due to a very strange bug which would mark the timestamp of new blocks as one second off the timestamp they should have been.

The issue has since been worked around in another manner, and thus this flag is no longer needed.
2024-03-19 11:08:54 +00:00
Eric f567f4ec15
refactor: use serde for json de/serialization instead of utils/json (#704)
* json > nim-serde bump

Should wait until serde is integrated into nim-ethers before making these changes as there will be less import exceptions required.

* bump nim-serde

* change func to proc due to chronicles side effects

* import serde into utils/json, use as proxy

import nim-serde into utils/json and use utils/json as a proxy for serde functions, including overloading `%` and `fromJson` for application types.

* update tests to use serde

* bump serde to latest

* remove testjson -- no longer needed

* bump serde in nimble

* updates to reconcile rebase with master
2024-03-19 03:25:13 +00:00
Giuliano Mega b4de53f436
update path for libp2p (#743) 2024-03-18 22:41:22 +00:00
Ben Bierens 8f65f578db
Pulls in latest contracts. (#742) 2024-03-18 13:41:25 +00:00
Ben 4379461b5e
Merge branch 'master' into feature/ceremony-files 2024-03-18 09:06:19 +01:00
Giuliano Mega d33804f700
fixes double lookups when block does not exist (#739)
* fixes double lookups when block does not exist

* handle timeouts on requestBlock

* fix indentation which was causing an integration test to fail
2024-03-15 21:50:56 +00:00
Ben ba0e7d9e2a
Fixes issue where inner-scope values are lost before returning 2024-03-15 15:45:26 +01:00
benbierens 50ab23d4e0
removes integration cli tests for r1cs, wasm, and zkey file arguments. 2024-03-12 19:15:53 +01:00
benbierens 09796a7075
pulls in updated contracts 2024-03-12 19:15:52 +01:00
benbierens 97bc1f8676
includes libzip-dev 2024-03-12 19:15:29 +01:00
benbierens 3d008c71fc
Sets up tests for backendfactory 2024-03-12 19:13:07 +01:00
benbierens 8ff6b50c37
Fixes testprover.nim 2024-03-12 19:13:07 +01:00
benbierens 983da3c24f
functional implementation 2024-03-12 19:13:06 +01:00
benbierens 7934d415cd
Wires up downloading and unzipping 2024-03-12 19:13:06 +01:00