From 12acc01844173f8030d7a49709fd29b951b48ad2 Mon Sep 17 00:00:00 2001 From: Simon Dosch Date: Thu, 1 Feb 2024 16:50:16 +0100 Subject: [PATCH] fix a test --- hardhat.config.cjs | 2 +- test/integration/root/DepositManagerUpdate.test.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/hardhat.config.cjs b/hardhat.config.cjs index b67770d9..ae9d72bd 100644 --- a/hardhat.config.cjs +++ b/hardhat.config.cjs @@ -60,7 +60,7 @@ const networks = () => { }, }; } else if (process.env.LOCAL_NETWORK) { - console.log("using local hardhat network, so we don't overload infura"); + console.log("using local hardhat network"); return { hardhat: { blockGasLimit: 20000000, diff --git a/test/integration/root/DepositManagerUpdate.test.js b/test/integration/root/DepositManagerUpdate.test.js index d3c87beb..7e24dd78 100644 --- a/test/integration/root/DepositManagerUpdate.test.js +++ b/test/integration/root/DepositManagerUpdate.test.js @@ -73,6 +73,8 @@ describe('DepositManagerUpdate @skip-on-coverage', async function () { await polygonMigrationTest.setTokenAddresses(matic.rootERC20.address, pol.address) + deployer.mapToken(pol.address, matic.childToken.address) + // mint POL to PolygonMigrationTest await pol.mint(polygonMigrationTest.address, amount.toString()) })