Skip to content

Commit

Permalink
disable phala
Browse files Browse the repository at this point in the history
  • Loading branch information
xlc committed Feb 9, 2025
1 parent c913ca6 commit 8445aa9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 52 deletions.
4 changes: 2 additions & 2 deletions networks/all.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import hydraDXConfig from './hydraDX'
import interlayConfig from './interlay'
import moonbeamConfig from './moonbeam'
// import parallelConfig from './parallel'
import phalaConfig from './phala'
// import phalaConfig from './phala'
import polkadotConfig from './polkadot'
import uniqueConfig from './unique'

Expand All @@ -30,7 +30,7 @@ const all = {
crust: crustConfig,
unique: uniqueConfig,
interlay: interlayConfig,
phala: phalaConfig,
// phala: phalaConfig,
darwinia: darwiniaConfig,
} satisfies Record<string, Config>

Expand Down
40 changes: 0 additions & 40 deletions tests/bridge-sdk/__snapshots__/kusama.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -178,26 +178,6 @@ exports[`'karura' to 'bifrost' using bridgeSDK cross-chain 'KUSD' > Cross-chain
}
`;

exports[`'karura' to 'khala' using bridgeSDK cross-chain 'KUSD' > Cross-chain using BridgeSDK works > after 1`] = `
{
"address": "5FA9nQDVg267DEd8m1ZypXLBnvN7SFxYwV7ndqSYGiN9TTpu",
"decimals": 12,
"fromChain": 8,
"toChain": "(rounded 102)",
}
`;

exports[`'karura' to 'khala' using bridgeSDK cross-chain 'KUSD' > Cross-chain using BridgeSDK works > fee 1`] = `"(rounded 0.008)"`;

exports[`'karura' to 'khala' using bridgeSDK cross-chain 'KUSD' > Cross-chain using BridgeSDK works > initial 1`] = `
{
"address": "5FA9nQDVg267DEd8m1ZypXLBnvN7SFxYwV7ndqSYGiN9TTpu",
"decimals": 12,
"fromChain": 10,
"toChain": 100,
}
`;

exports[`'karura' to 'kintsugi' using bridgeSDK cross-chain 'KINT' > Cross-chain using BridgeSDK works > after 1`] = `
{
"address": "5FA9nQDVg267DEd8m1ZypXLBnvN7SFxYwV7ndqSYGiN9TTpu",
Expand Down Expand Up @@ -298,26 +278,6 @@ exports[`'karura' to 'shiden' using bridgeSDK cross-chain 'KUSD' > Cross-chain u
}
`;

exports[`'khala' to 'karura' using bridgeSDK cross-chain 'KUSD' > Cross-chain using BridgeSDK works > after 1`] = `
{
"address": "5FA9nQDVg267DEd8m1ZypXLBnvN7SFxYwV7ndqSYGiN9TTpu",
"decimals": 12,
"fromChain": 98,
"toChain": "(rounded 12)",
}
`;

exports[`'khala' to 'karura' using bridgeSDK cross-chain 'KUSD' > Cross-chain using BridgeSDK works > fee 1`] = `"(rounded 0.003)"`;

exports[`'khala' to 'karura' using bridgeSDK cross-chain 'KUSD' > Cross-chain using BridgeSDK works > initial 1`] = `
{
"address": "5FA9nQDVg267DEd8m1ZypXLBnvN7SFxYwV7ndqSYGiN9TTpu",
"decimals": 12,
"fromChain": 100,
"toChain": 10,
}
`;

exports[`'kintsugi' to 'karura' using bridgeSDK cross-chain 'KINT' > Cross-chain using BridgeSDK works > after 1`] = `
{
"address": "5FA9nQDVg267DEd8m1ZypXLBnvN7SFxYwV7ndqSYGiN9TTpu",
Expand Down
20 changes: 10 additions & 10 deletions tests/bridge-sdk/kusama.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,16 +128,16 @@ const tests = [
// to: 'karura',
// token: 'CRAB',
// },
{
from: 'khala',
to: 'karura',
token: 'KUSD',
},
{
from: 'karura',
to: 'khala',
token: 'KUSD',
},
// {
// from: 'khala',
// to: 'karura',
// token: 'KUSD',
// },
// {
// from: 'karura',
// to: 'khala',
// token: 'KUSD',
// },
// Chopsticks are currently not supported.
// {
// from: 'crust',
Expand Down

0 comments on commit 8445aa9

Please sign in to comment.