nim-codex/codex/utils
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
..
addrutils.nim Improving proc/func formatting consistency (#454) 2023-06-22 08:11:18 -07:00
asyncheapqueue.nim Slot queue (#455) 2023-07-25 12:50:30 +10:00
asynciter.nim Rework AsyncIter (#811) 2024-06-10 22:47:29 +00:00
asyncspawn.nim [marketplace] Load sales state from chain (#306) 2023-03-08 14:34:26 +01:00
asyncstatemachine.nim chore: update dependencies, especially nim-ethers to chronos v4 compatible version (#968) 2024-11-04 07:31:43 +02:00
digest.nim Build slots (#668) 2024-01-11 08:45:23 -08:00
exceptions.nim [marketplace] Availability improvements (#535) 2023-09-29 14:33:08 +10:00
fileutils.nim feat: create logging proxy (#663) 2024-01-22 23:35:03 -08:00
iter.nim Rework AsyncIter (#811) 2024-06-10 22:47:29 +00:00
json.nim refactor: use serde for json de/serialization instead of utils/json (#704) 2024-03-19 03:25:13 +00:00
keyutils.nim feat: create logging proxy (#663) 2024-01-22 23:35:03 -08:00
options.nim feat(api): availabilities patch endpoint (#692) 2024-03-21 10:53:45 +00:00
poseidon2digest.nim Wire up prover (#736) 2024-03-12 12:10:14 +00:00
stintutils.nim feat: bigint uses decimal over hex encoding (#452) 2023-06-21 07:46:18 +02:00
then.nim Cancel and wait for asyncstatemachine futures when stopping (#493) 2023-07-31 15:09:34 +10:00
timer.nim feat: create logging proxy (#663) 2024-01-22 23:35:03 -08:00
trackedfutures.nim feat: create logging proxy (#663) 2024-01-22 23:35:03 -08:00