Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add xcm relaychain token transfer integration test #1348

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion integration-tests/configs/battery-station.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
endpoint: wss://bsr.zeitgeist.pm
mock-signature-host: true
db: ./tmp/bs_db_mba.sqlite
# wasm-override: battery-station-runtime.compact.compressed.wasm
# wasm-override: battery_station_runtime.compact.compressed.wasm

import-storage:
Sudo:
Expand Down
20 changes: 20 additions & 0 deletions integration-tests/configs/polkadot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
endpoint:
- wss://rpc.ibp.network/polkadot
- wss://polkadot-rpc.dwellir.com
mock-signature-host: true
block: ${env.POLKADOT_BLOCK_NUMBER}
db: ./db.sqlite
runtime-log-level: 5
# wasm-override: polkadot_runtime.compact.compressed.wasm

import-storage:
System:
Account:
-
-
- 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY
- providers: 1
data:
free: '10000000000000000000'
ParasDisputes:
$removePrefix: ['disputes'] # those can makes block building super slow
17 changes: 17 additions & 0 deletions integration-tests/configs/rococo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
endpoint: wss://rococo-rpc.polkadot.io
mock-signature-host: true
block: ${env.ROCOCO_BLOCK_NUMBER}
db: ./db.sqlite
runtime-log-level: 5

import-storage:
Sudo:
Key: 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY # Alice
System:
Account:
-
-
- 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY
- providers: 1
data:
free: '10000000000000000000'
4 changes: 2 additions & 2 deletions integration-tests/configs/zeitgeist.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# endpoint: wss://main.rpc.zeitgeist.pm/ws
endpoint: wss://zeitgeist-rpc.dwellir.com
endpoint: wss://main.rpc.zeitgeist.pm/ws
# endpoint: wss://zeitgeist.api.onfinality.io/public-ws
mock-signature-host: true
db: ./tmp/ztg_db_mba.sqlite
# wasm-override: zeitgeist-runtime.compact.compressed.wasm
runtime-log-level: 5

import-storage:
System:
Expand Down
6 changes: 3 additions & 3 deletions integration-tests/moonwall.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@
{
"name": "PolkadotDB",
"type": "relaychain",
"configPath": "polkadot"
"configPath": "./configs/polkadot.yml"
}
]
},
"envVars": ["LOG_LEVEL=debug", "VERBOSE_LOG"],
"envVars": ["LOG_LEVEL=debug", "VERBOSE_LOG=true"],
"buildBlockMode": "manual",
"connections": [
{
Expand Down Expand Up @@ -106,7 +106,7 @@
}
]
},
"envVars": ["LOG_LEVEL=debug", "VERBOSE_LOG"],
"envVars": ["LOG_LEVEL=debug", "VERBOSE_LOG=true"],
"buildBlockMode": "manual",
"connections": [
{
Expand Down
12 changes: 6 additions & 6 deletions integration-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
"@polkadot/keyring": "^12.6.2",
"@polkadot/util-crypto": "^12.6.2",
"sqlite3": "^5.1.7",
"typescript": "^5.4.5",
"ws": "^8.16.0"
"typescript": "^5.5.3",
"ws": "^8.18.0"
},
"devDependencies": {
"@acala-network/chopsticks": "0.9.10",
"@moonwall/cli": "^5.1.5",
"@moonwall/util": "^5.1.5",
"@acala-network/chopsticks": "0.13.1",
"@moonwall/cli": "^5.3.3",
"@moonwall/util": "^5.3.3",
"@polkadot/api": "^10.13.1",
"@polkadot/types": "^10.13.1",
"@types/node": "^20.12.7",
"@types/node": "^20.14.11",
"debug": "4.3.4",
"ts-node": "^10.9.2"
},
Expand Down
Loading