chore: pin chronos to 4.2.2 to unbreak wakunode2 build

chronos 4.4.0 (resolved by the floating >= 4.2.0 requirement since the
lockfile removal) introduced stricter effect checking that rejects the
long-standing waitFor in rest_api/endpoint/relay/handlers.nim:191 with
'illegal effect: NestedPoll'. The last green docker image (PR #3807,
June 2026) resolved chronos 4.2.2; pin that until the handler is
reworked for chronos >= 4.4.
This commit is contained in:
Prem Chaitanya Prathi 2026-08-10 18:32:48 +05:30
parent 291dd91ebc
commit a876f87f63
No known key found for this signature in database

View File

@ -17,7 +17,11 @@ const RequiredNimbleVersion = "0.22.3"
### Dependencies
requires "nim >= 2.2.4",
"chronos >= 4.2.0",
# chronos pinned: 4.4.0's stricter effect checking rejects the waitFor in
# rest_api/endpoint/relay/handlers.nim:191 (NestedPoll). 4.2.2 is what the
# last green docker image (PR #3807, Jun 2026) was built with. Unpin once
# the handler is fixed for chronos >= 4.4.
"chronos == 4.2.2",
"taskpools",
# Logging & Configuration
"chronicles",