Skip to content

Commit

Permalink
mainnet deploy (#435)
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Raynor <[email protected]>
  • Loading branch information
0x0aa0 and mooselumph authored Apr 8, 2024
1 parent b57478e commit b56aaf0
Show file tree
Hide file tree
Showing 14 changed files with 766 additions and 32 deletions.
5 changes: 4 additions & 1 deletion contracts/script/EigenDADeployer.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,9 @@ contract EigenDADeployer is DeployOpenEigenLayer {
stakeRegistry
);

address[] memory confirmers = new address[](1);
confirmers[0] = addressConfig.eigenDACommunityMultisig;

// Third, upgrade the proxy contracts to use the correct implementation contracts and initialize them.
eigenDAProxyAdmin.upgradeAndCall(
TransparentUpgradeableProxy(payable(address(eigenDAServiceManager))),
Expand All @@ -200,7 +203,7 @@ contract EigenDADeployer is DeployOpenEigenLayer {
eigenDAPauserReg,
0,
addressConfig.eigenDACommunityMultisig,
addressConfig.eigenDACommunityMultisig
confirmers
)
);

Expand Down
4 changes: 3 additions & 1 deletion contracts/script/deploy/holesky/Holesky_Deploy.s.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
/*
pragma solidity =0.8.12;
import {PauserRegistry} from "eigenlayer-core/contracts/permissions/PauserRegistry.sol";
Expand Down Expand Up @@ -89,7 +90,7 @@ contract Deployer_Holesky is ExistingDeploymentParser {
/**
* First, deploy upgradeable proxy contracts that **will point** to the implementations. Since the implementation contracts are
* not yet deployed, we give these proxies an empty contract as the initial implementation, to act as if they have no code.
*/
*//*
eigenDAServiceManager = EigenDAServiceManager(
address(new TransparentUpgradeableProxy(address(emptyContract), address(eigenDAProxyAdmin), ""))
);
Expand Down Expand Up @@ -377,3 +378,4 @@ contract Deployer_Holesky is ExistingDeploymentParser {
ejector = stdJson.readAddress(config_data, ".permissions.ejector");
}
}
*/
Loading

0 comments on commit b56aaf0

Please sign in to comment.