From 67f3a71df15626e8847a99c92fa82c702649aacb Mon Sep 17 00:00:00 2001 From: Zach Pomerantz Date: Thu, 13 Jul 2023 16:24:19 -0700 Subject: [PATCH] Revert "feat: add base-goerli tokens to default-token-list (#1631)" This reverts commit 278af9f0acdc1e3037ff122710cf2ae6cfac7790. --- package.json | 4 ++-- src/buildList.js | 3 +-- src/tokens/base-goerli.json | 10 ---------- yarn.lock | 16 ++++++++-------- 4 files changed, 11 insertions(+), 22 deletions(-) delete mode 100644 src/tokens/base-goerli.json diff --git a/package.json b/package.json index 7a66bff43..701c32eff 100644 --- a/package.json +++ b/package.json @@ -29,8 +29,8 @@ "homepage": "https://github.com/Uniswap/default-token-list#readme", "devDependencies": { "@ethersproject/address": "^5.0.2", - "@uniswap/token-lists": "^1.0.0-beta.33", - "@uniswap/token-list-bridge-utils": "^2.1.0", + "@uniswap/token-lists": "^1.0.0-beta.29", + "@uniswap/token-list-bridge-utils": "^2.0.0", "ajv": "^6.12.3", "chai": "^4.2.0", "mocha": "^8.0.1", diff --git a/src/buildList.js b/src/buildList.js index 7f91eebea..0269bf77d 100644 --- a/src/buildList.js +++ b/src/buildList.js @@ -12,7 +12,6 @@ const arbitrum = require("./tokens/arbitrum.json"); const bnb = require("./tokens/bnb.json"); const sepolia = require("./tokens/sepolia.json"); const avalanche = require("./tokens/avalanche.json"); -const baseGoerli = require("./tokens/base-goerli.json"); const bridgeUtils = require('@uniswap/token-list-bridge-utils'); @@ -29,7 +28,7 @@ module.exports = function buildList() { tags: {}, logoURI: "ipfs://QmNa8mQkrNKp1WEEeGjFezDmDeodkWRevGFN8JCV7b4Xir", keywords: ["uniswap", "default"], - tokens: [...mainnet, ...ropsten, ...goerli, ...kovan, ...rinkeby, ...polygon, ...mumbai, ...optimism, ...celo, ...arbitrum, ...bnb, ...sepolia, ...avalanche, ...baseGoerli] + tokens: [...mainnet, ...ropsten, ...goerli, ...kovan, ...rinkeby, ...polygon, ...mumbai, ...optimism, ...celo, ...arbitrum, ...bnb, ...sepolia, ...avalanche] // sort them by symbol for easy readability .sort((t1, t2) => { if (t1.chainId === t2.chainId) { diff --git a/src/tokens/base-goerli.json b/src/tokens/base-goerli.json deleted file mode 100644 index 4692c236c..000000000 --- a/src/tokens/base-goerli.json +++ /dev/null @@ -1,10 +0,0 @@ -[ - { - "name": "Wrapped Ether", - "address": "0x4200000000000000000000000000000000000006", - "symbol": "WETH", - "decimals": 18, - "chainId": 84531, - "logoURI": "https://ethereum-optimism.github.io/data/WETH/logo.png" - } - ] \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index 7165936a3..236b6b1ce 100644 --- a/yarn.lock +++ b/yarn.lock @@ -534,10 +534,10 @@ tiny-invariant "^1.1.0" toformat "^2.0.0" -"@uniswap/token-list-bridge-utils@^2.1.0": - version "2.1.0" - resolved "https://registry.yarnpkg.com/@uniswap/token-list-bridge-utils/-/token-list-bridge-utils-2.1.0.tgz#61138da4a6033fe638185d65d37a38591735d719" - integrity sha512-g0G6v/9h492dgdptzbnjF+vY1A/6SA5YNRtpE/IuDsWdy+6GV7HuW/hfnvsSYkMV1qJTNldPs+yxGGr8RcJp2w== +"@uniswap/token-list-bridge-utils@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@uniswap/token-list-bridge-utils/-/token-list-bridge-utils-2.0.0.tgz#786fd2c0c029ecf2ccb20d0c045787856d4fa8be" + integrity sha512-QF9Q7DWRO6UWWnMo8R5BQ4THqMHTWRLm9o/BzoPvWRc+8UQxNsR42znbK/iegNYEMEbOWWWwPRNinwN2d84Zjg== dependencies: "@arbitrum/sdk" "^1.1.4" "@uniswap/sdk-core" "^3.0.1" @@ -548,10 +548,10 @@ prettier "^2.7.1" web3 "^1.7.3" -"@uniswap/token-lists@^1.0.0-beta.33": - version "1.0.0-beta.33" - resolved "https://registry.yarnpkg.com/@uniswap/token-lists/-/token-lists-1.0.0-beta.33.tgz#966ba96c9ccc8f0e9e09809890b438203f2b1911" - integrity sha512-JQkXcpRI3jFG8y3/CGC4TS8NkDgcxXaOQuYW8Qdvd6DcDiIyg2vVYCG9igFEzF0G6UvxgHkBKC7cWCgzZNYvQg== +"@uniswap/token-lists@^1.0.0-beta.29": + version "1.0.0-beta.29" + resolved "https://registry.yarnpkg.com/@uniswap/token-lists/-/token-lists-1.0.0-beta.29.tgz#7be3b62aeab84c710a153a115df3bb8480027684" + integrity sha512-b19mDY5G94GW9tKjvoNEbdApWM1GNahh5EFYs7LsBE7J3r7qNsJ6MqZYoPg73KS6GOrp8/2XdcSXRBUt6NHjZg== accepts@~1.3.8: version "1.3.8"