diff --git a/balancer-js/package.json b/balancer-js/package.json index 1ea767d7b..d01b9efcb 100644 --- a/balancer-js/package.json +++ b/balancer-js/package.json @@ -69,7 +69,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", @@ -98,6 +97,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/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 = { 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==