IntersectMBO / IntersectMBO/cardano-ledger
Switch `spssStake` to use `NonZero`
- Dominant language
- Haskell
- Stars
- 295
- Forks
- 179
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 29
Description
After we are in PV11 we can get rid of stake pools with zero stake from the `SnapShot`
However, this is blocked #5014, since `PoolDistr` is currently reused for calculation of the stake for the voting stake, which means that stake pools that don't have any stake for leader election might still be needed for stake for voting if any of the stake credential without stake is also associated with a governance proposal that holds a deposit.
Contributor guide
Research direction
Start by reading the spssStake and SnapShot handling, then inspect how PoolDistr is reused for voting stake. Check issue #5014 and the PV11 dependency first; done means spssStake uses NonZero without removing stake pools still needed for voting stake calculations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- blockchain
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100