Skip to content

Commit

Permalink
review fix -> Comment entire line of BridgeName and remove useless bl…
Browse files Browse the repository at this point in the history
…ock on assets.test
  • Loading branch information
RenzouM committed Nov 7, 2024
1 parent 6b2f611 commit 510221f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 18 deletions.
6 changes: 3 additions & 3 deletions src/bridges.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ export const enum BridgeName {
BITTORRENT = "BitTorrent Bridge",
KROMA = "Kroma Bridge",
ROLLUX = "Rollux Bridge",
WEMIX = "Block Producer Network(BPN)", //todo --Native bridge suspended/maintenance? wemix classic/multichain bridge?
HEDERA = "", //todo --No native bridge
DOGECHAIN = "Dogechain Bridge", //todo --Native bridge only support transf of doge from dogecoin chain -> dogechain chain
//todo WEMIX = "Block Producer Network(BPN)", | Native bridge suspended/maintenance? wemix classic/multichain bridge?
//todo HEDERA = "??", | No native bridge
//todo DOGECHAIN = "Dogechain Bridge", | Native bridge only support transf of doge from dogecoin chain -> dogechain chain

// official, native multi
SUPERBRIDGE = "Superbridge",
Expand Down
15 changes: 0 additions & 15 deletions tests/assets.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@ describe("testing assets", () => {
(token) => token.address.toLowerCase() === address.toLowerCase(),
);

if (!matchingToken) {
console.log(`Missing token for address: ${address}`);
throw new Error(
`Token with address ${address} is missing in tokenlist.`,
);
}
expect(matchingToken).toBeDefined();
}
}
Expand Down Expand Up @@ -64,15 +58,6 @@ describe("testing assets", () => {
}
}

if (!addressFound) {
console.log(
`Missing token address: ${token.address} for token: ${token.symbol}`,
);
throw new Error(
`Token address ${token.address} for ${token.symbol} is missing in assets.`,
);
}

expect(addressFound).toBe(true);
}
});
Expand Down

0 comments on commit 510221f

Please sign in to comment.