From bea37818cf6bfb2928a83e8d0291bbbc74d9386d Mon Sep 17 00:00:00 2001 From: Anton Kovalchuk Date: Wed, 28 Feb 2024 15:45:32 +0200 Subject: [PATCH] fix config --- .env.wsteth.opt_sepolia | 6 +++--- hardhat.config.ts | 1 - test/optimism/bridging.e2e.test.ts | 1 - 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.env.wsteth.opt_sepolia b/.env.wsteth.opt_sepolia index 55c92d7a..76efa537 100644 --- a/.env.wsteth.opt_sepolia +++ b/.env.wsteth.opt_sepolia @@ -53,9 +53,9 @@ L2_WITHDRAWALS_DISABLERS="["0xf695357C66bA514150Da95b189acb37b46DDe602", "0xa5F1 TESTING_OPT_NETWORK=sepolia TESTING_OPT_L1_TOKEN=0xB82381A3fBD3FaFA77B3a7bE693342618240067b -TESTING_OPT_L2_TOKEN= -TESTING_OPT_L1_ERC20_TOKEN_BRIDGE= -TESTING_OPT_L2_ERC20_TOKEN_BRIDGE= +TESTING_OPT_L2_TOKEN=0x24B47cd3A74f1799b32B2de11073764Cb1bb318B +TESTING_OPT_L1_ERC20_TOKEN_BRIDGE=0x4Abf633d9c0F4aEebB4C2E3213c7aa1b8505D332 +TESTING_OPT_L2_ERC20_TOKEN_BRIDGE=0xdBA2760246f315203F8B716b3a7590F0FFdc704a # ############################ # Integration Testing diff --git a/hardhat.config.ts b/hardhat.config.ts index 8e162f9f..ed47221c 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -92,7 +92,6 @@ const config: HardhatUserConfig = { apiKey: { mainnet: env.string("ETHERSCAN_API_KEY_ETH", ""), sepolia: env.string("ETHERSCAN_API_KEY_ETH", ""), - // arbitrumSepolia: env.string("ETHERSCAN_API_KEY_ARB", ""), arbitrumOne: env.string("ETHERSCAN_API_KEY_ARB", ""), optimisticEthereum: env.string("ETHERSCAN_API_KEY_OPT", ""), "opt_sepolia": env.string("ETHERSCAN_API_KEY_OPT", ""), diff --git a/test/optimism/bridging.e2e.test.ts b/test/optimism/bridging.e2e.test.ts index 294033bc..d578e860 100644 --- a/test/optimism/bridging.e2e.test.ts +++ b/test/optimism/bridging.e2e.test.ts @@ -110,7 +110,6 @@ scenario("Optimism :: Bridging via deposit/withdraw E2E test", ctxFactory) }) .step("Finalizing L2 -> L1 message", async (ctx) => { - const safetyDelay = 1000; const finalizationPeriod = await ctx.crossChainMessenger.contracts.l1.L2OutputOracle.FINALIZATION_PERIOD_SECONDS(); await sleep(finalizationPeriod * 1000); await ctx.crossChainMessenger.finalizeMessage(withdrawTokensTxResponse);