Skip to content

Commit

Permalink
fix build problems
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammedea committed May 30, 2024
1 parent 7bb628e commit 5b8284f
Show file tree
Hide file tree
Showing 4 changed files with 353 additions and 303 deletions.
12 changes: 7 additions & 5 deletions scripts/cleanupTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ import {
const cleanupTokens = async (network: ICeloNetwork) => {
const file = `${__dirname}/../src/${network}.tokens.json`;

const tokens = getNetworkTokens(network)
.slice()
.sort((a, b) =>
a.address.toLowerCase().localeCompare(b.address.toLowerCase())
);
//const tokens = getNetworkTokens(network)
// .slice()
// .sort((a, b) =>
// a.address.toLowerCase().localeCompare(b.address.toLowerCase())
// );

const tokens = getNetworkTokens(network);

await fs.writeFile(
file,
Expand Down
4 changes: 2 additions & 2 deletions src/mainnet.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"symbol": "CELO"
},
{
"address": "0xceba9300f2b948710d2653dd7b07f33a8b32118c",
"address": "0xcebA9300f2b948710d2653dD7B07f33A8B32118C",
"name": "USDC",
"symbol": "USDC",
"decimals": 6
Expand Down Expand Up @@ -430,7 +430,7 @@
},
{
"address": "0x00Be915B9dCf56a3CBE739D9B9c202ca692409EC",
"name": "Ubeswap (Old)",
"name": "Ubeswap Old",
"symbol": "old-UBE"
}
]
Loading

0 comments on commit 5b8284f

Please sign in to comment.