IntersectMBO / IntersectMBO/cardano-ledger
Prevent duplicate BlsKey from being used
- Dominant language
- Haskell
- Stars
- 295
- Forks
- 179
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 29
Description
Similarly to VRF uniqueness check, we need to enforce that a duplicate Bls public key cannot not be registered by any two separate Stake Pools.
We only need to check the PubKey, since PossessionProof will be checked for proper matching in #5993
https://github.com/IntersectMBO/cardano-ledger/blob/e236411501c5929fdbf88ce265a294e8a11d1c55/libs/cardano-ledger-core/src/Cardano/Ledger/State/StakePool.hs#L468
Currently blocked on #6029
Contributor guide
Research direction
Start in libs/cardano-ledger-core/src/Cardano/Ledger/State/StakePool.hs around line 468 and compare the existing VRF uniqueness check. Review the blocking issue #6029 and the PossessionProof work in #5993 before tracing how stake-pool registration handles the public key. Done means duplicate Bls public keys are rejected across separate Stake Pools, while possession-proof matching remains covered by #5993.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- blockchain
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100