ChainSafe / ChainSafe/gossamer
Add context for IO request in peer scoring logic.
Open
- Dominant language
- Go
- Stars
- 454
- Forks
- 144
- PR merge metrics
- No merged PRs in 30d
Description
## Issue summary
- We should pass separate context for every IO request instead of passing the context that is stored in the struct.
- https://github.com/ChainSafe/gossamer/pull/1791#discussion_r732754681
## Other information and links
-
Contributor guide
Research direction
Start by locating the peer scoring logic and its IO request call sites, then read the linked discussion in PR #1791 for the intended context handling. Done means each IO request receives separate context rather than the context stored in the struct; update relevant tests if they exist.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- networking
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100