nim-codex/codex
Eric 20a63ce7d7
chore: update dependencies, especially nim-ethers to chronos v4 compatible version (#968)
* chore: bump dependencies, including nim-ethers with chronos v4 support

Bumps the following dependencies:
- nim-ethers to commit 507ac6a4cc71cec9be7693fa393db4a49b52baf9 which contains a pinned nim-eth version. This is to be replaced by a versioned library, so it will be pinned to a particular version. There is a crucial fix in this version of ethers that fixes nonce management which is causing issues in the Codex testnet.
- nim-json-rpc to v0.4.4
- nim-json-serialization to v0.2.8
- nim-serde to v1.2.2
- nim-serialization to v0.2.4

Currently, one of the integration tests is failing.

* fix integration test

- When a state's run was cancelled, it was being caught as an error due to catching all CatchableErrors. This caused a state transition to SaleErrored, however cancellation of run was not actually an error. Handling this correctly fixed the issue.
- Stopping of the clock was moved to after `HostInteractions` (sales) which avoided an assertion around getting time when the clock was not started.

* bump ethers to include nonce fix and filter not found fix

* bump ethers: fixes missing symbol not exported in ethers

* Fix cirdl test imports/exports

* Debugging in ci

* Handle CancelledErrors for state.run in one place only

* Rename `config` to `configuration`

There was a symbol clash preventing compilation and it was easiest to rename `config` to `configuration` in the contracts. Not even remotely ideal, but it was the only way.

* bump ethers to latest

Prevents an issue were `JsonNode.items` symbol could not be found

* More changes to support `config` > `configuration`

* cleanup

* testing to see if this fixes failure in ci

* bumps contracts

- ensures slot is free before allowing reservation
- renames config to configuration to avoid symbol clash
2024-11-04 07:31:43 +02:00
..
blockexchange Release v0.1.5 (#941) 2024-10-07 15:27:25 +03:00
contracts chore: update dependencies, especially nim-ethers to chronos v4 compatible version (#968) 2024-11-04 07:31:43 +02:00
erasure Release v0.1.3 (#856) 2024-07-03 20:20:53 +03:00
manifest feat: add metadata to the manifest (#960) 2024-11-04 07:31:24 +02:00
merkletree Merge latest master into release (#842) 2024-06-26 05:38:04 +03:00
purchasing feat: partial rewards and withdraws (#880) 2024-10-21 13:24:47 +03:00
rest feat: add metadata to the manifest (#960) 2024-11-04 07:31:24 +02:00
sales fix(slot-reservations): Avoid slot filled cancellations (#963) 2024-11-04 07:31:01 +02:00
slots Release v0.1.4 (#912) 2024-09-24 13:19:58 +03:00
stores Release v0.1.4 (#912) 2024-09-24 13:19:58 +03:00
streams Merge latest master into release (#842) 2024-06-26 05:38:04 +03:00
utils chore: update dependencies, especially nim-ethers to chronos v4 compatible version (#968) 2024-11-04 07:31:43 +02:00
blockexchange.nim Change every dagger to codex (#102) 2022-05-19 13:56:03 -06:00
blocktype.nim Release v0.1.4 (#912) 2024-09-24 13:19:58 +03:00
chunker.nim Handles LPStreamError in chunker (#947) 2024-10-21 13:24:38 +03: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 Release v0.1.5 (#941) 2024-10-07 15:27:25 +03:00
codextypes.nim wire in circom backend (#698) 2024-02-09 21:40:30 +00:00
conf.nim Release v0.1.5 (#941) 2024-10-07 15:27:25 +03:00
contracts.nim feat: contract address management (#405) 2023-05-03 09:24:25 +02:00
discovery.nim Update logging for download (#799) 2024-05-16 10:06:12 -07: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 Merge latest master into release (#842) 2024-06-26 05:38:04 +03:00
logutils.nim refactor: use serde for json de/serialization instead of utils/json (#704) 2024-03-19 03:25:13 +00:00
manifest.nim Update multicodecs (#665) 2023-12-22 13:04:01 +01:00
market.nim Release v0.1.5 (#941) 2024-10-07 15:27:25 +03: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 chore: update dependencies, especially nim-ethers to chronos v4 compatible version (#968) 2024-11-04 07:31:43 +02:00
periods.nim Validator (#387) 2023-04-19 15:06:00 +02:00
purchasing.nim feat: expiry specified with number of seconds (#793) 2024-05-06 17:35:46 +02:00
rng.nim track latest nim-libp2p's master branch (#248) 2022-11-02 11:40:28 -06:00
sales.nim Release v0.1.5 (#941) 2024-10-07 15:27:25 +03: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 Merge latest master into release (#842) 2024-06-26 05:38:04 +03:00
utils.nim Fixes active cancellation for pending want requests (#714) 2024-02-22 14:54:45 +00:00
validation.nim Release v0.1.5 (#941) 2024-10-07 15:27:25 +03:00
validationconfig.nim Release v0.1.5 (#941) 2024-10-07 15:27:25 +03:00