CodeChain-io / CodeChain-io/foundry
Fix the intermittent error in node initialization
- Dominant language
- Rust
- Stars
- 36
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
It sometimes fails with
```
thread 'track_blocks' panicked at 'called `Result::unwrap()` on an `Err` value: Connect(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))', /home/junha/Projects/foundry/integration-test/src/lib.rs:147:47
```
Contributor guide
Research direction
Start by inspecting integration-test/src/lib.rs around line 147 and the track_blocks thread to understand how node initialization establishes its connection. Reproduce the intermittent ConnectionRefused failure, then verify that the integration test no longer panics during initialization and that the relevant node-tracking flow completes reliably.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- blockchain
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100