Skip to content

Commit

Permalink
chore: update logging
Browse files Browse the repository at this point in the history
  • Loading branch information
stevennevins committed Dec 19, 2024
1 parent c270cbd commit 3d4b0b8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion script/DeployMiddleware.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ contract DeployMiddleware is Script {
address internal deployer;

function setUp() public {
deployer = vm.rememberKey(vm.envUint("PRIVATE_KEY"));
deployer = vm.rememberKey(vm.envUint("HOLESKY_PRIVATE_KEY"));
vm.label(deployer, "Deployer");

// Read core deployment data from json
Expand Down Expand Up @@ -51,11 +51,14 @@ contract DeployMiddleware is Script {

function logDeploymentDetails(MiddlewareDeploymentLib.DeploymentData memory result) internal pure {
console.log("Deployment completed");
console.log("ServiceManager:", result.serviceManager);
console.log("RegistryCoordinator:", result.registryCoordinator);
console.log("BLSApkRegistry:", result.blsapkRegistry);
console.log("IndexRegistry:", result.indexRegistry);
console.log("StakeRegistry:", result.stakeRegistry);
console.log("OperatorStateRetriever:", result.operatorStateRetriever);
console.log("Token:", result.token);
console.log("Strategy:", result.strategy);
}

function labelContracts(CoreDeploymentLib.DeploymentData memory coreData, MiddlewareDeploymentLib.DeploymentData memory middlewareData) internal {
Expand Down

0 comments on commit 3d4b0b8

Please sign in to comment.