-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Fix bridge tests #8900
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
Fix bridge tests #8900
Changes from 7 commits
291b3ea
ec56d5d
3dfb453
e2d3aee
913725c
8c58453
37fdf38
4660bc3
bc1edea
fda5785
eb4cb14
360faea
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -250,6 +250,21 @@ case "$1" in | |
| "$GLOBAL_CONSENSUS_WESTEND_SOVEREIGN_ACCOUNT" \ | ||
| 10000000000 \ | ||
| true | ||
| # create foreign asset pool | ||
| force_create_pool \ | ||
| "ws://127.0.0.1:9910" \ | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is it possible to use variables here instead of raw addresses ? like
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @karolk91 actually, a very good point :), yes, we could do this, but I am also thinking about rewriting this scripts to PAPI, so I would keep it this way for now |
||
| "//Alice" \ | ||
| "$(jq --null-input '{ "parents": 1, "interior": "Here" }')" \ | ||
| "$(jq --null-input '{ "parents": 2, "interior": { "X1": [{ "GlobalConsensus": { ByGenesis: '$WESTEND_GENESIS_HASH' } }] } }')" | ||
| # Create liquidity in the pool | ||
| force_add_liquidity \ | ||
| "ws://127.0.0.1:9910" \ | ||
| "//Alice" \ | ||
| "$(jq --null-input '{ "parents": 1, "interior": "Here" }')" \ | ||
| "$(jq --null-input '{ "parents": 2, "interior": { "X1": [{ "GlobalConsensus": { ByGenesis: '$WESTEND_GENESIS_HASH' } }] } }')" \ | ||
| 10000000000 \ | ||
| 10000000000 | ||
|
|
||
| # HRMP | ||
| open_hrmp_channels \ | ||
| "ws://127.0.0.1:9942" \ | ||
|
|
@@ -309,6 +324,20 @@ case "$1" in | |
| "$GLOBAL_CONSENSUS_ROCOCO_SOVEREIGN_ACCOUNT" \ | ||
| 10000000000 \ | ||
| true | ||
| # create foreign asset pool | ||
| force_create_pool \ | ||
| "ws://127.0.0.1:9010" \ | ||
| "//Alice" \ | ||
| "$(jq --null-input '{ "parents": 1, "interior": "Here" }')" \ | ||
| "$(jq --null-input '{ "parents": 2, "interior": { "X1": [{ "GlobalConsensus": { ByGenesis: '$ROCOCO_GENESIS_HASH' } }] } }')" | ||
| # Create liquidity in the pool | ||
| force_add_liquidity \ | ||
| "ws://127.0.0.1:9010" \ | ||
| "//Alice" \ | ||
| "$(jq --null-input '{ "parents": 1, "interior": "Here" }')" \ | ||
| "$(jq --null-input '{ "parents": 2, "interior": { "X1": [{ "GlobalConsensus": { ByGenesis: '$ROCOCO_GENESIS_HASH' } }] } }')" \ | ||
| 10000000000 \ | ||
| 10000000000 | ||
| # HRMP | ||
| open_hrmp_channels \ | ||
| "ws://127.0.0.1:9945" \ | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.