From f3f07eca30ca09df493c1ae4ec42351a855756bc Mon Sep 17 00:00:00 2001 From: johngrantuk Date: Tue, 7 May 2024 12:52:00 +0100 Subject: [PATCH 1/2] chore: Add ethers v5 to deps instead of dev deps. --- balancer-js/package.json | 2 +- balancer-js/yarn.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/balancer-js/package.json b/balancer-js/package.json index 2ad8c5fb5..2435426fa 100644 --- a/balancer-js/package.json +++ b/balancer-js/package.json @@ -70,7 +70,6 @@ "eslint": "^7.9.0", "eslint-plugin-mocha-no-only": "^1.1.1", "eslint-plugin-prettier": "^3.1.4", - "ethers": "^5.0.0", "fishery": "^2.2.2", "hardhat": "^2.9.3", "mocha": "^8.2.1", @@ -99,6 +98,7 @@ "@ethersproject/contracts": "^5.4.0", "@ethersproject/providers": "^5.4.5", "axios": "^0.24.0", + "ethers": "^5", "graphql": "^15.6.1", "graphql-request": "^3.5.0", "json-to-graphql-query": "^2.2.4", diff --git a/balancer-js/yarn.lock b/balancer-js/yarn.lock index 1c1ba2400..d74837247 100644 --- a/balancer-js/yarn.lock +++ b/balancer-js/yarn.lock @@ -3482,7 +3482,7 @@ ethereumjs-util@^7.1.4: ethereum-cryptography "^0.1.3" rlp "^2.2.4" -ethers@^5.0.0: +ethers@^5: version "5.7.2" resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.7.2.tgz#3a7deeabbb8c030d4126b24f84e525466145872e" integrity sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg== From af7fd11b3afbc7c97aa8d7e22192df9f09d85e46 Mon Sep 17 00:00:00 2001 From: johngrantuk Date: Tue, 7 May 2024 15:59:29 +0100 Subject: [PATCH 2/2] test: Skip goerli tests. --- .../src/modules/exits/exits.module.integration.spec.ts | 2 +- .../liquidity-managment/migrations.integrations.spec.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/balancer-js/src/modules/exits/exits.module.integration.spec.ts b/balancer-js/src/modules/exits/exits.module.integration.spec.ts index bd35a25c9..0cbf58891 100644 --- a/balancer-js/src/modules/exits/exits.module.integration.spec.ts +++ b/balancer-js/src/modules/exits/exits.module.integration.spec.ts @@ -25,7 +25,7 @@ const poolAddresses = Object.values(ADDRESSES[network]).map( ); const addresses = ADDRESSES[network]; -describe('generalised exit execution', async function () { +describe.skip('generalised exit execution', async function () { this.timeout(120000); // Sets timeout for all tests within this scope to 2 minutes /* diff --git a/balancer-js/src/modules/liquidity-managment/migrations.integrations.spec.ts b/balancer-js/src/modules/liquidity-managment/migrations.integrations.spec.ts index 2bfbd5bf0..48d41dace 100644 --- a/balancer-js/src/modules/liquidity-managment/migrations.integrations.spec.ts +++ b/balancer-js/src/modules/liquidity-managment/migrations.integrations.spec.ts @@ -30,8 +30,8 @@ const migrations = (network: 1 | 137) => { }; const remoteRpcUrls = { - [Network.MAINNET]: 'https://rpc.ankr.com/eth', - [Network.POLYGON]: 'https://rpc.ankr.com/polygon', + [Network.MAINNET]: process.env.ALCHEMY_URL, + [Network.POLYGON]: process.env.ALCHEMY_URL_POLYGON, }; const blockNumbers = {