Skip to content

Fix megapool pubkey uniqueness check#340

Open
knoal wants to merge 1 commit into
rocket-pool:masterfrom
knoal:fix/megapool-pubkey-uniqueness
Open

Fix megapool pubkey uniqueness check#340
knoal wants to merge 1 commit into
rocket-pool:masterfrom
knoal:fix/megapool-pubkey-uniqueness

Conversation

@knoal
Copy link
Copy Markdown

@knoal knoal commented May 16, 2026

Summary\n- enforce validator pubkey uniqueness across all megapools\n- keep storing the owning megapool address for each claimed pubkey\n- add a regression test covering duplicate pubkey reuse across two different megapools\n\n## Problem\nCloses #338. The uniqueness key previously included the megapool address, so the same validator pubkey could be registered by different megapools without colliding.\n\n## Testing\n- npx hardhat test test/rocket-pool-tests.js --grep "can not reuse pubkey"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant