Skip to content

Commit

Permalink
Remove xToken (#665)
Browse files Browse the repository at this point in the history
* refactor: filter lnbridge for explorer and history

* refactor: remove xtoken

* fix: add bridges variable to history records gql
  • Loading branch information
JayJay1024 authored Mar 20, 2024
1 parent 59367a7 commit d48c402
Show file tree
Hide file tree
Showing 39 changed files with 34 additions and 11,103 deletions.
Binary file removed public/images/bridge/l2arbitrum-horizontal.png
Binary file not shown.
Binary file removed public/images/bridge/l2arbitrum-symbol.png
Binary file not shown.
17 changes: 0 additions & 17 deletions src/__tests__/cross-config.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,6 @@ import { describe, expect, it } from "@jest/globals";
import { getChainConfigs, getChainConfig } from "../utils/chain";
import type { ChainConfig } from "../types/chain";

describe.each(getChainConfigs(true) as ChainConfig[])(
"Should configure price for HelixLpBridge to cross native token",
({ network, tokens }) => {
if (tokens.length) {
describe.each(tokens)(`Cross $symbol from ${network}`, (token) => {
if (token.cross.length) {
it.each(token.cross)(`to $target.network`, (cross) => {
if (token.type === "native" && cross.bridge.category.startsWith("lpbridge-")) {
expect(cross.price).not.toBeUndefined();
}
});
}
});
}
},
);

describe.each(getChainConfigs(true) as ChainConfig[])("Should configure target token", ({ network, tokens }) => {
if (tokens.length) {
describe.each(tokens)(`Cross $symbol from ${network}`, (token) => {
Expand Down
Loading

0 comments on commit d48c402

Please sign in to comment.