diff --git a/scripts/deployment/l2/deploy_07_10_change_managers_and_permissions.js b/scripts/deployment/l2/deploy_07_10_change_managers_and_permissions.js index dfd877bc..031797f7 100644 --- a/scripts/deployment/l2/deploy_07_10_change_managers_and_permissions.js +++ b/scripts/deployment/l2/deploy_07_10_change_managers_and_permissions.js @@ -70,7 +70,7 @@ async function main() { // Transaction signing and execution // 7. EOA to change the manager of ServiceRegistry to ServiceManager calling `changeManager(ServiceManager)`; console.log("7. You are signing the following transaction: serviceRegistry.connect(EOA).changeManager()"); - let result = await serviceRegistry.connect(EOA).changeManager(serviceManagerAddress, { gasPrice }); + let result = await serviceRegistry.connect(EOA).changeManager(serviceManagerTokenAddress, { gasPrice }); // Transaction details console.log("Contract address:", serviceRegistryAddress); console.log("Transaction:", result.hash); diff --git a/scripts/deployment/l2/deploy_11_12_change_drainers.js b/scripts/deployment/l2/deploy_11_12_change_drainers.js index 60b355f2..9b1174f2 100644 --- a/scripts/deployment/l2/deploy_11_12_change_drainers.js +++ b/scripts/deployment/l2/deploy_11_12_change_drainers.js @@ -74,7 +74,7 @@ async function main() { // 11. EOA to change the drainer of ServiceRegistry to BridgeMediator console.log("You are signing the following transaction: serviceRegistry.connect(EOA).changeDrainer(bridgeMediatorAddress)"); - result = await serviceRegistry.connect(EOA).changeDrainer(bridgeMediatorAddress, { gasPrice }); + let result = await serviceRegistry.connect(EOA).changeDrainer(bridgeMediatorAddress, { gasPrice }); // Transaction details console.log("Contract address:", serviceRegistryAddress); console.log("Transaction:", result.hash);