diff --git a/scripts/tests/addLiquidity.ts b/scripts/tests/addLiquidity.ts index a1250bcc..fd969222 100644 --- a/scripts/tests/addLiquidity.ts +++ b/scripts/tests/addLiquidity.ts @@ -4,6 +4,7 @@ import { impersonateAccounts } from "./impersonate"; import { tokenMapping as mainnetMapping } from "./mainnet/tokens"; import { tokenMapping as polygonMapping } from "./polygon/tokens"; import { tokenMapping as avalancheMapping } from "./avalanche/tokens"; +import { tokenMapping as optimismMapping } from "./optimism/tokens"; const mineTx = async (tx: any) => { await (await tx).wait(); @@ -12,7 +13,8 @@ const mineTx = async (tx: any) => { const tokenMapping: Record> = { mainnet: mainnetMapping, polygon: polygonMapping, - avalanche: avalancheMapping + avalanche: avalancheMapping, + optimism: optimismMapping }; export async function addLiquidity(tokenName: string, address: any, amt: any) { diff --git a/scripts/tests/global-test.ts b/scripts/tests/global-test.ts index 444abe8e..4c137c33 100644 --- a/scripts/tests/global-test.ts +++ b/scripts/tests/global-test.ts @@ -6,7 +6,7 @@ import { execScript } from "./command"; let start: number, end: number; async function testRunner() { - const chain = ["avalanche", "mainnet", "polygon", "arbitrum"]; + const chain = ["avalanche", "mainnet", "polygon", "arbitrum", "optimism"]; start = Date.now(); for (let ch of chain) {