ChainSafe / ChainSafe/gossamer
Update collator validator side State
- Dominant language
- Go
- Stars
- 454
- Forks
- 144
- PR merge metrics
- No merged PRs in 30d
Description
### Description
- State:
- Missing collation fetch requests managment (with cancelation and timeouts) which inclues fields `collation_requests`, `collation_requests_cancel_handles` and `collation_fetch_timeouts`
- Reputation Aggregator
- `activeLeaves` should be a `map[common.Hash]struct{}`
- `fetchedCollations` field does not exist, instead there is a field `fetched_candidates` which is a `map[FetchedCollation]CollationEvent`
- `BlockedAdvertisements` field does not exist, instead there is `blocked_from_seconding` which is a `map[BlockedCollationId][]pendingCollationFetch`
- Implement `seconded_and_pending_for_para`: Returns the number of seconded and pending collations for a specific `ParaId`.
### Links:
https://github.com/paritytech/polkadot-sdk/blob/c679ed79a1de575d4c3d5b8878b3e401b024f2f2/polkadot/node/network/collator-protocol/src/validator_side/mod.rs#L353
Contributor guide
Assessment
This issue has not been assessed yet.