Skip to content

Commit

Permalink
removed address(0) pranks
Browse files Browse the repository at this point in the history
  • Loading branch information
Sidu28 committed Nov 6, 2024
1 parent 226e7a7 commit 43966df
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 22 deletions.
5 changes: 3 additions & 2 deletions contracts/test/SetupPaymentsLib.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ contract SetupPaymentsLibTest is Test, TestConstants, HelloWorldTaskManagerSetup
bytes32[] memory tokenLeaves = SetupPaymentsLib.createTokenLeaves(rewardsCoordinator, NUM_TOKEN_EARNINGS, TOKEN_EARNINGS, address(strategy));
IRewardsCoordinator.EarnerTreeMerkleLeaf[] memory earnerLeaves =SetupPaymentsLib.createEarnerLeaves(earners, tokenLeaves);

cheats.startPrank(address(0), address(0));

cheats.startPrank(rewardsCoordinator.rewardsUpdater());
SetupPaymentsLib.submitRoot(rewardsCoordinator, tokenLeaves, earnerLeaves, address(strategy), endTimestamp, NUM_EARNERS, 1, filePath);
cheats.stopPrank();
}
Expand Down Expand Up @@ -158,7 +159,7 @@ contract SetupPaymentsLibTest is Test, TestConstants, HelloWorldTaskManagerSetup
bytes32[] memory tokenLeaves = SetupPaymentsLib.createTokenLeaves(rewardsCoordinator, NUM_TOKEN_EARNINGS, TOKEN_EARNINGS, address(strategy));
IRewardsCoordinator.EarnerTreeMerkleLeaf[] memory earnerLeaves =SetupPaymentsLib.createEarnerLeaves(earners, tokenLeaves);

cheats.startPrank(address(0));
cheats.startPrank(rewardsCoordinator.rewardsUpdater());
SetupPaymentsLib.submitRoot(rewardsCoordinator, tokenLeaves, earnerLeaves, address(strategy), endTimestamp, NUM_EARNERS, 1, filePath);
cheats.stopPrank();

Expand Down
21 changes: 1 addition & 20 deletions contracts/test/mockData/scratch/31337.json
Original file line number Diff line number Diff line change
@@ -1,20 +1 @@
{
"lastUpdate": {
"timestamp": "1",
"block_number": "1"
},
"addresses": {
"proxyAdmin": "0x5615deb798bb3e4dfa0139dfa1b3d433cc23b72f",
"delegation": "0xf62849f9a0b5bf2913b396098f7c7019b51a820a",
"delegationManagerImpl": "0xdb25a7b768311de128bbda7b8426c3f9c74f3240",
"avsDirectory": "0xc7183455a4c133ae270771860664b6b7ec320bb1",
"avsDirectoryImpl": "0x3381cd18e2fb4db236bf0525938ab6e43db0440f",
"strategyManager": "0x1d1499e622d69689cdf9004d05ec547d650ff211",
"strategyManagerImpl": "0x756e0562323adcda4430d6cb456d9151f605290b",
"eigenPodManager": "0x03a6a84cd762d9707a21605b548aaab891562aab",
"eigenPodManagerImpl": "0xe8dc788818033232ef9772cb2e6622f1ec8bc840",
"strategyFactory": "0x13aa49bac059d709dd0a18d6bb63290076a702d7",
"strategyFactoryImpl": "0x1af7f588a501ea2b5bb3feefa744892aa2cf00e6",
"strategyBeacon": "0x886d6d1eb8d415b00052828cd6d5b321f072073d"
}
}
{"lastUpdate":{"timestamp":"1","block_number":"1"},"addresses":{"proxyAdmin":"0x5615deb798bb3e4dfa0139dfa1b3d433cc23b72f","delegation":"0xf62849f9a0b5bf2913b396098f7c7019b51a820a","delegationManagerImpl":"0xdb25a7b768311de128bbda7b8426c3f9c74f3240","avsDirectory":"0xc7183455a4c133ae270771860664b6b7ec320bb1","avsDirectoryImpl":"0x3381cd18e2fb4db236bf0525938ab6e43db0440f","strategyManager":"0x1d1499e622d69689cdf9004d05ec547d650ff211","strategyManagerImpl":"0x756e0562323adcda4430d6cb456d9151f605290b","eigenPodManager":"0x03a6a84cd762d9707a21605b548aaab891562aab","eigenPodManagerImpl":"0xe8dc788818033232ef9772cb2e6622f1ec8bc840","strategyFactory":"0x13aa49bac059d709dd0a18d6bb63290076a702d7","strategyFactoryImpl":"0x1af7f588a501ea2b5bb3feefa744892aa2cf00e6","strategyBeacon":"0x886d6d1eb8d415b00052828cd6d5b321f072073d"}}

0 comments on commit 43966df

Please sign in to comment.