Skip to content

Commit

Permalink
update contracts submodules (#295)
Browse files Browse the repository at this point in the history
  • Loading branch information
shrimalmadhur authored Jul 10, 2024
1 parent 5eb73ed commit 4b1bb2a
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 27 deletions.
2 changes: 1 addition & 1 deletion contracts/anvil/contracts-deployed-anvil-state.json

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions contracts/script/DeployMockAvsRegistries.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -301,5 +301,9 @@ contract DeployMockAvsRegistries is
"strategyManager",
address(eigenlayerContracts.strategyManager)
);
contractsRegistry.registerContract(
"rewardsCoordinator",
address(eigenlayerContracts.rewardsCoordinator)
);
}
}
20 changes: 11 additions & 9 deletions contracts/script/output/31337/eigenlayer_deployment_output.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
{
"addresses": {
"avsDirectory": "0x0165878A594ca255338adfa4d48449f69242Eb8F",
"avsDirectoryImplementation": "0x9A676e781A523b5d0C0e43731313A708CB607508",
"baseStrategyImplementation": "0xa85233C63b9Ee964Add6F2cffe00Fd84eb32338f",
"avsDirectoryImplementation": "0x0B306BF915C4d645ff596e518fAf3F9669b97016",
"baseStrategyImplementation": "0x09635F643e140090A9A8Dcd712eD6285858ceBef",
"delayedWithdrawalRouter": "0x8A791620dd6260079BF849Dc5567aDC3F2FdC318",
"delayedWithdrawalRouterImplementation": "0x9A9f2CCfdE556A7E9Ff0848998Aa4a0CFD8863AE",
"delayedWithdrawalRouterImplementation": "0x68B1D87F95878fE05B998F19b66F4baba5De1aed",
"delegation": "0xDc64a140Aa3E981100a9becA4E685f962f0cF6C9",
"delegationImplementation": "0xA51c1fc2f0D1a1b8494Ed1FE312d7C3a78Ed91C0",
"delegationImplementation": "0x0DCd1Bf9A1b36cE34237eEaFef220932846BCD82",
"eigenLayerPauserReg": "0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0",
"eigenLayerProxyAdmin": "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512",
"eigenPodBeacon": "0xB7f8BC63BbcaD18155201308C8f3540b07f84F5e",
"eigenPodImplementation": "0x610178dA211FEF7D417bC0e6FeD39F05609AD788",
"eigenPodBeacon": "0xA51c1fc2f0D1a1b8494Ed1FE312d7C3a78Ed91C0",
"eigenPodImplementation": "0xB7f8BC63BbcaD18155201308C8f3540b07f84F5e",
"eigenPodManager": "0x2279B7A0a67DB372996a5FaB50D91eAA73d2eBe6",
"eigenPodManagerImplementation": "0x959922bE3CAee4b8Cd9a407cc3ac1C251C2007B1",
"eigenPodManagerImplementation": "0x9A9f2CCfdE556A7E9Ff0848998Aa4a0CFD8863AE",
"emptyContract": "0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9",
"rewardsCoordinator": "0x610178dA211FEF7D417bC0e6FeD39F05609AD788",
"rewardsCoordinatorImplementation": "0x3Aa5ebB10DC797CAC828524e59A333d0A371443c",
"slasher": "0xa513E6E4b8f2a923D98304ec87F64353C4D5C853",
"slasherImplementation": "0x0B306BF915C4d645ff596e518fAf3F9669b97016",
"slasherImplementation": "0x959922bE3CAee4b8Cd9a407cc3ac1C251C2007B1",
"strategies": "",
"strategyManager": "0x5FC8d32690cc91D4c39d9d3abcBD16989F875707",
"strategyManagerImplementation": "0x0DCd1Bf9A1b36cE34237eEaFef220932846BCD82"
"strategyManagerImplementation": "0x9A676e781A523b5d0C0e43731313A708CB607508"
},
"chainInfo": {
"chainId": 31337,
Expand Down
10 changes: 5 additions & 5 deletions contracts/script/output/31337/mockAvs_deployment_output.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"addresses": {
"mockAvsServiceManager": "0x67d269191c92Caf3cD7723F116c85e6E9bf55933",
"mockAvsServiceManager": "0x84eA74d481Ee0A5332c457a4d796187F6Ba67fEB",
"mockAvsServiceManagerImplementation": "0x0000000000000000000000000000000000000000",
"operatorStateRetriever": "0x1613beB3B2C4f22Ee086B2b38C1476A3cE7f78E8",
"proxyAdmin": "0xc5a5C42992dECbae36851359345FE25997F5C42d",
"registryCoordinator": "0xc3e53F4d16Ae77Db1c982e75a937B9f60FE63690",
"registryCoordinatorImplementation": "0x99bbA657f2BbC93c02D617f8bA121cB8Fc104Acf"
"operatorStateRetriever": "0x95401dc811bb5740090279Ba06cfA8fcF6113778",
"proxyAdmin": "0xc3e53F4d16Ae77Db1c982e75a937B9f60FE63690",
"registryCoordinator": "0xa82fF9aFd8f496c3d6ac40E2a0F282E47488CFc9",
"registryCoordinatorImplementation": "0x9d4454B023096f34B160D6B654540c56A1F81688"
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"addresses": {
"erc20mock": "0x5f3f1dBD7B74C6B46e8c44f98792A1dAf8d69154",
"erc20mockstrategy": "0xCD8a1C3ba11CF5ECfa6267617243239504a98d90"
"erc20mock": "0x2bdCC0de6bE1f7D2ee689a0342D76F52E8EFABa3",
"erc20mockstrategy": "0x7bc06c482DEAd17c0e297aFbC32f6e63d3846650"
}
}
14 changes: 5 additions & 9 deletions contracts/script/parsers/EigenlayerContractsParser.sol
Original file line number Diff line number Diff line change
Expand Up @@ -77,17 +77,13 @@ contract EigenlayerContractsParser is ConfigsReadWriter {
".addresses.baseStrategyImplementation"
)
);
// TODO: Update this to read from the eigenlayerDeployedContracts
// right now M2_Deploy_from_scratch.s.sol deployment script doesnt deploy rewardsCoordinator

IRewardsCoordinator rewardsCoordinator = IRewardsCoordinator(
address(0x0)
stdJson.readAddress(
eigenlayerDeployedContracts,
".addresses.rewardsCoordinator"
)
);
// IRewardsCoordinator rewardsCoordinator = IRewardsCoordinator(
// stdJson.readAddress(
// eigenlayerDeployedContracts,
// ".addresses.rewardsCoordinator"
// )
// );
return
EigenlayerContracts(
eigenlayerProxyAdmin,
Expand Down

0 comments on commit 4b1bb2a

Please sign in to comment.