Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: beaconchain slashable shares in queue #1087

Merged

Conversation

0xClandestine
Copy link
Member

@0xClandestine 0xClandestine commented Feb 12, 2025

Motivation:

Fixes an issue where beaconChainETHStrategy queued withdrawals were excluded from slashable shares tracking, leading to undercounted burnable shares. This ensures correct accounting for future ETH burning post-Ethereum Pectra upgrade. (EGSL-03)

Modifications:

  • Removed exclusion of beaconChainETHStrategy in _addQueuedSlashableShares().
  • Updated tests to ensure correct tracking and slashing behavior.

Result:

  • Proper tracking of beaconChainETHStrategy shares in slashing calculations.
  • Accurate burnable share accounting, preparing for future ETH burning.

@ypatil12 ypatil12 changed the title fix: beaconchain slashable shares fix: beaconchain slashable shares in queue Feb 12, 2025
@0xClandestine 0xClandestine force-pushed the fix/beaconchain-slashable-shares branch from b4ccbf3 to 019f85c Compare February 13, 2025 14:41
@0xClandestine 0xClandestine added the ⚖️ Audit Fix Audit-related fixes. label Feb 13, 2025
@0xClandestine 0xClandestine force-pushed the fix/beaconchain-slashable-shares branch from 019f85c to 47d318f Compare February 13, 2025 16:15
@0xClandestine 0xClandestine merged commit fcd2fa3 into slashing-magnitudes-fixes Feb 13, 2025
11 checks passed
@0xClandestine 0xClandestine deleted the fix/beaconchain-slashable-shares branch February 13, 2025 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚖️ Audit Fix Audit-related fixes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants