Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xlc committed Jul 8, 2024
1 parent 015f0c1 commit 7e1a27b
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ on:

env:
DB_PATH: ./db.sqlite
ACALA_ENDPOINT: wss://acala-rpc.dwellir.com
KARURA_ENDPOINT: wss://karura-rpc.dwellir.com

jobs:
lint:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ exports[`'assetHubKusama' <-> 'karura' xcm transfer 'USDT' > 'assetHubKusama' ->
},
},
{
"setTopic": "0xd93aaaa2e91f8e6ad27a5b553bb56d4131af46fa8b709cb0a13450cba38234b7",
"setTopic": "(redacted)",
},
],
},
Expand Down
4 changes: 2 additions & 2 deletions packages/networks/src/chains/acala.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,15 @@ const getInitStorages = (config: typeof custom.acala | typeof custom.karura) =>

export const acala = defineChain({
name: 'acala',
endpoint: 'wss://acala-rpc.aca-api.network',
endpoint: 'wss://acala-rpc.dwellir.com',
paraId: 2000,
custom: custom.acala,
initStorages: getInitStorages(custom.acala),
})

export const karura = defineChain({
name: 'karura',
endpoint: 'wss://karura-rpc.aca-api.network',
endpoint: 'wss://karura-rpc.dwellir.com',
paraId: 2000,
custom: custom.karura,
initStorages: getInitStorages(custom.karura),
Expand Down
8 changes: 6 additions & 2 deletions packages/shared/src/xcm/runXcmPalletHorizontal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,13 @@ export const runXcmPalletHorizontal = (
await checkEvents(tx0, 'xTokens').toMatchSnapshot('tx events')

if (isCheckUmp) {
await checkUmp(fromChain).toMatchSnapshot('from chain ump messages')
await checkUmp(fromChain)
.redact({ redactKeys: /setTopic/ })
.toMatchSnapshot('from chain ump messages')
} else {
await checkHrmp(fromChain).toMatchSnapshot('from chain hrmp messages')
await checkHrmp(fromChain)
.redact({ redactKeys: /setTopic/ })
.toMatchSnapshot('from chain hrmp messages')
}

if (routeChain) {
Expand Down
2 changes: 1 addition & 1 deletion vitest.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import { resolve } from 'path';
import tsconfigPaths from 'vite-tsconfig-paths'
import dotenv from 'dotenv';

dotenv.config({ path: resolve(__dirname, 'KNOWN_GOOD_BLOCK_NUMBERS.env') });
dotenv.config();
dotenv.config({ path: resolve(__dirname, 'KNOWN_GOOD_BLOCK_NUMBERS.env') });

export default defineConfig({
test: {
Expand Down

0 comments on commit 7e1a27b

Please sign in to comment.