IntersectMBO / IntersectMBO/cardano-ledger
Create a separate type for PoolDistr voting
- Dominant language
- Haskell
- Stars
- 295
- Forks
- 179
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 29
Description
1. Create Voting Stake Pool Distr
```haskell
data VotingStakePoolDistr = VotingStakePoolDistr
{ unPoolDistr :: !(Map (KeyHash StakePool) (CompactForm Coin))
, pdTotalStakePoolVotingAmount :: !(NonZero Coin)
}
```
1. remove `poolDistrDistrL` and `poolDistrTotalL` in favor of matching lenses for `VotingStakePoolDistr`
1. Use `VotingStakePoolDistr` in `DRepPulser`
1. Convert from PoolDistr to `VotingStakePoolDistr` on `setFreshDRepPulsingState`
1. Remove the haddock on PoolDistr
```
-- In addition to
-- the stake considered for the `individualPoolStake` Rational, we add
-- proposal-deposits to this field."
```
Contributor guide
Assessment
This issue has not been assessed yet.