Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundedgar committed Apr 25, 2024
1 parent 0249eb5 commit 268b76a
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions src/deployment/verifyContracts.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,28 +50,28 @@ async function main() {
expect(error.message.toLowerCase().includes('already verified')).to.be.equal(true);
}

/*
// verify timelock
const { minDelayTimelock } = deployParameters;
const { timelockAddress } = deployParameters;
try {
await hre.run(
'verify:verify',
{
address: deployOutputParameters.timelockContractAddress,
constructorArguments: [
minDelayTimelock,
[timelockAddress],
[timelockAddress],
timelockAddress,
deployOutputParameters.polygonZkEVMAddress,
],
},
);
} catch (error) {
expect(error.message.toLowerCase().includes('already verified')).to.be.equal(true);
}
*/
/*
* // verify timelock
*const { minDelayTimelock } = deployParameters;
*const { timelockAddress } = deployParameters;
*try {
* await hre.run(
* 'verify:verify',
* {
* address: deployOutputParameters.timelockContractAddress,
* constructorArguments: [
* minDelayTimelock,
* [timelockAddress],
* [timelockAddress],
* timelockAddress,
* deployOutputParameters.polygonZkEVMAddress,
* ],
* },
* );
*} catch (error) {
* expect(error.message.toLowerCase().includes('already verified')).to.be.equal(true);
*}
*/

// verify proxy admin
try {
Expand Down Expand Up @@ -143,7 +143,7 @@ async function main() {
},
);
} catch (error) {
// expect(error.message.toLowerCase().includes('proxyadmin')).to.be.equal(true);
// expect(error.message.toLowerCase().includes('proxyadmin')).to.be.equal(true);
}

// verify global exit root address
Expand All @@ -155,7 +155,7 @@ async function main() {
},
);
} catch (error) {
// expect(error.message.toLowerCase().includes('proxyadmin')).to.be.equal(true);
// expect(error.message.toLowerCase().includes('proxyadmin')).to.be.equal(true);
}

// verify global exit implementation address
Expand All @@ -168,7 +168,7 @@ async function main() {
},
);
} catch (error) {
// expect(error.message.toLowerCase().includes('proxyadmin')).to.be.equal(true);
// expect(error.message.toLowerCase().includes('proxyadmin')).to.be.equal(true);
}

// verify bridge
Expand All @@ -185,7 +185,7 @@ async function main() {
},
);
} catch (error) {
// expect(error.message.toLowerCase().includes('proxyadmin')).to.be.equal(true);
// expect(error.message.toLowerCase().includes('proxyadmin')).to.be.equal(true);
}

// verify bridge implementation address
Expand All @@ -210,7 +210,7 @@ async function main() {
},
);
} catch (error) {
// expect(error.message.toLowerCase().includes('proxyadmin')).to.be.equal(true);
// expect(error.message.toLowerCase().includes('proxyadmin')).to.be.equal(true);
}

// verify fork manager implementation address
Expand Down

0 comments on commit 268b76a

Please sign in to comment.