CodeChain-io / CodeChain-io/foundry
Do not download invalid block's children
Open
good first issue
- Dominant language
- Rust
- Stars
- 36
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
A CodeChain node downloads child blocks of an invalid block. Since the parent block is invalid, verifying the child blocks always fails.
Contributor guide
Research direction
The issue does not name files or tests. Start by tracing the node's block download and validation flow to find where child blocks are requested after a parent is marked invalid. Done means child blocks of an invalid parent are no longer downloaded and the relevant behavior is covered by passing tests.
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
- Mostly clear
- Newbie friendliness
- 35/100