Skip to content

Commit

Permalink
remove base
Browse files Browse the repository at this point in the history
  • Loading branch information
0xjojoex committed Aug 25, 2023
1 parent fcd91c3 commit 4de0456
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 96 deletions.
Binary file not shown.
49 changes: 0 additions & 49 deletions lists/pancakeswap-base-default.json

This file was deleted.

6 changes: 0 additions & 6 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@ export const LISTS = {
logoURI: "https://pancakeswap.finance/logo.png",
sort: false,
},
"pancakeswap-base-default": {
name: "PancakeSwap Base Default",
keywords: ["pancakeswap", "default", "base"],
logoURI: "https://pancakeswap.finance/logo.png",
sort: false,
},
"pancakeswap-polygon-zkevm-default": {
name: "PancakeSwap Zkevm Default",
keywords: ["pancakeswap", "default", "polygon", "zkevm"],
Expand Down
34 changes: 0 additions & 34 deletions src/tokens/pancakeswap-base-default.json

This file was deleted.

6 changes: 1 addition & 5 deletions src/utils/publicClients.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { createPublicClient, http, Chain } from "viem";
import { arbitrum, base, bsc, mainnet, polygonZkEvm, zkSync } from "viem/chains";
import { arbitrum, bsc, mainnet, polygonZkEvm, zkSync } from "viem/chains";



Expand Down Expand Up @@ -71,9 +71,5 @@ export const publicClients = {
chain: linea,
transport: http(),
}),
[base.id]: createPublicClient({
chain: base,
transport: http(),
}),
};

3 changes: 1 addition & 2 deletions test/default.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { buildList, VersionBump } from "../src/buildList.js";
import getTokenChainData from "../src/utils/getTokensChainData.js";
import { getAptosCoinsChainData } from "../src/utils/getAptosCoinChainData.js";
import { LISTS } from "../src/constants.js";
import { arbitrum, base, bsc, mainnet, polygonZkEvm, zkSync } from "viem/chains";
import { arbitrum, bsc, mainnet, polygonZkEvm, zkSync } from "viem/chains";
import { linea } from "../src/utils/publicClients.js";

const CASES = Object.entries(LISTS).map(([key, value]) =>
Expand Down Expand Up @@ -48,7 +48,6 @@ const multiChainLogoPath = {
[zkSync.id]: "/zksync",
[arbitrum.id]: "/arbitrum",
[linea.id]: "/linea",
[base.id]: "/base",
};

// Modified https://github.com/you-dont-need/You-Dont-Need-Lodash-Underscore#_get
Expand Down

0 comments on commit 4de0456

Please sign in to comment.