Skip to content

Commit

Permalink
whitelist EigenLayer RewardsCoordinator's processClaim to claim AVS …
Browse files Browse the repository at this point in the history
…rewards
  • Loading branch information
seongyun-ko committed Oct 15, 2024
1 parent b544aef commit 619ac19
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
13 changes: 13 additions & 0 deletions operations/20241014_whitelist_RewardsCoordinator_processClaim.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{ "version": "1.0", "chainId": "1", "meta": { "name": "Transactions Batch", "description": "", "txBuilderVersion": "1.16.5", "createdFromSafeAddress": "0xcdd57D11476c22d265722F68390b036f3DA48c21" }, "transactions": [
{
"to": "0x9f26d4C958fD811A1F59B01B86Be7dFFc9d20761",
"value": "0",
"data": "0x01d5062a0000000000000000000000008b71140ad2e5d1e7018d2a7f8a288bd3cd38916f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003f4800000000000000000000000000000000000000000000000000000000000000064c7f61eec3ccc861d000000000000000000000000000000000000000000000000000000000000000000000000000000007750d328b314effa365a0402ccfd489b80b0adda000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000"
}
,
{
"to": "0x9f26d4C958fD811A1F59B01B86Be7dFFc9d20761",
"value": "0",
"data": "0x134008d30000000000000000000000008b71140ad2e5d1e7018d2a7f8a288bd3cd38916f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064c7f61eec3ccc861d000000000000000000000000000000000000000000000000000000000000000000000000000000007750d328b314effa365a0402ccfd489b80b0adda000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000"
}
] }
9 changes: 9 additions & 0 deletions test/EtherFiTimelock.sol
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,15 @@ contract TimelockTest is TestSetup {
_execute_timelock(target, data, true, true, true, true);
}
}

function test_whitelist_RewardsCoordinator_processClaim() public {
initializeRealisticFork(MAINNET_FORK);
address target = address(managerInstance);
bytes4 selector = 0x3ccc861d;

bytes memory data = abi.encodeWithSelector(EtherFiNodesManager.updateAllowedForwardedExternalCalls.selector, selector, 0x7750d328b314EfFa365A0402CcfD489B80B0adda, true);
_execute_timelock(target, data, true, true, true, true);
}
}

// {"version":"1.0","chainId":"1

0 comments on commit 619ac19

Please sign in to comment.