From a4a678ed54b83f09a9f85f15c1b4ffc14d7664fa Mon Sep 17 00:00:00 2001 From: Jackson Date: Tue, 26 Mar 2024 10:50:11 +0800 Subject: [PATCH] fix: wrong variable name in verify script --- deployment/v2/verifyContracts.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/deployment/v2/verifyContracts.js b/deployment/v2/verifyContracts.js index 6a583b0f1..32b4b6762 100644 --- a/deployment/v2/verifyContracts.js +++ b/deployment/v2/verifyContracts.js @@ -56,7 +56,7 @@ async function main() { [timelockAdminAddress], [timelockAdminAddress], timelockAdminAddress, - deployOutputParameters.polygonRollupManager, + deployOutputParameters.polygonRollupManagerAddress, ], }, ); @@ -81,7 +81,7 @@ async function main() { await hre.run( 'verify:verify', { - address: deployOutputParameters.polygonRollupManager, + address: deployOutputParameters.polygonRollupManagerAddress, constructorArguments: [ deployOutputParameters.polygonZkEVMGlobalExitRootAddress, deployOutputParameters.polTokenAddress, @@ -100,7 +100,7 @@ async function main() { { address: deployOutputParameters.polygonZkEVMGlobalExitRootAddress, constructorArguments: [ - deployOutputParameters.polygonRollupManager, + deployOutputParameters.polygonRollupManagerAddress, deployOutputParameters.polygonZkEVMBridgeAddress, ], }, @@ -179,7 +179,7 @@ async function main() { deployOutputParameters.polygonZkEVMGlobalExitRootAddress, deployOutputParameters.polTokenAddress, deployOutputParameters.polygonZkEVMBridgeAddress, - deployOutputParameters.polygonRollupManager, + deployOutputParameters.polygonRollupManagerAddress, ], }, ); @@ -197,7 +197,7 @@ async function main() { deployOutputParameters.polygonZkEVMGlobalExitRootAddress, deployOutputParameters.polTokenAddress, deployOutputParameters.polygonZkEVMBridgeAddress, - deployOutputParameters.polygonRollupManager, + deployOutputParameters.polygonRollupManagerAddress, ], }, );