Skip to content

Conversation

@pankajjagtapp
Copy link
Contributor

@pankajjagtapp pankajjagtapp commented Oct 27, 2025

Note

Adds forge scripts and fork tests to request EL withdrawals and validator consolidation via EtherFiNodesManager/EigenPod using timelock-controlled calls.

  • Scripts:
    • script/el-exits/pectra-executions/EL-withdrawal-for-node.s.sol: Links legacy validator IDs, builds EigenPod WithdrawalRequests for 20 pubkeys, computes fees, and triggers etherFiNodesManager.requestExecutionLayerTriggeredWithdrawal (via EL trigger exiter).
    • script/el-exits/pectra-executions/Consolidate-validators.s.sol: Resolves pod, builds ConsolidationRequests, computes fees, and schedules/executes etherFiOperatingTimelock.scheduleBatch/executeBatch to call etherFiNodesManager.requestConsolidation.
  • Tests (mainnet fork):
    • test/pectra-fork-tests/EL-withdrawals.t.sol: Verifies single and multiple EL withdrawal requests, including event emission and fee handling after linking legacy IDs.
    • test/pectra-fork-tests/Request-consolidation.t.sol: Verifies consolidation requests and switch-to-compounding flows, funding timelock, asserting events, and an expected revert when validators are not all active.

Written by Cursor Bugbot for commit e169451. This will update automatically on new commits. Configure here.

@pankajjagtapp pankajjagtapp self-assigned this Oct 27, 2025
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.

2 participants