IntersectMBO / IntersectMBO/cardano-ledger

Prevent duplicate BlsKey from being used

Open
#6,035 0 comments 0 reactions 0 assignees View on GitHub
DijkstraEra Leios Peras
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.