From 268b76a42c5106a31eb50ad3a8d7cb519d8f0dc3 Mon Sep 17 00:00:00 2001 From: Edmund Edgar Date: Thu, 25 Apr 2024 08:20:40 +0000 Subject: [PATCH] linting --- src/deployment/verifyContracts.js | 54 +++++++++++++++---------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/src/deployment/verifyContracts.js b/src/deployment/verifyContracts.js index b8f619d..22b2b8a 100644 --- a/src/deployment/verifyContracts.js +++ b/src/deployment/verifyContracts.js @@ -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 { @@ -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 @@ -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 @@ -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 @@ -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 @@ -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