mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 06:31:09 +00:00
Update integration tests (#1715)
* update it * [ci] Apply cargo-fmt Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
This commit is contained in:
@@ -284,7 +284,8 @@ fn check_inherents_are_unsigned_and_before_all_other_extrinsics() {
|
||||
.expect("Runs the test");
|
||||
assert!(output.status.success());
|
||||
|
||||
assert!(String::from_utf8(output.stderr).unwrap()
|
||||
assert!(String::from_utf8(output.stderr)
|
||||
.unwrap()
|
||||
.contains("Could not find `set_validation_data` inherent"));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,14 +10,17 @@ chain = "kusama-local"
|
||||
|
||||
[[relaychain.nodes]]
|
||||
name = "bob"
|
||||
ws_port = 9901
|
||||
validator = true
|
||||
|
||||
[[relaychain.nodes]]
|
||||
name = "charlie"
|
||||
ws_port = 9902
|
||||
validator = true
|
||||
|
||||
[[relaychain.nodes]]
|
||||
name = "dave"
|
||||
ws_port = 9903
|
||||
validator = true
|
||||
|
||||
[[parachains]]
|
||||
@@ -32,6 +35,7 @@ cumulus_based = true
|
||||
|
||||
[[parachains.collators]]
|
||||
name = "collator2"
|
||||
ws_port = 9911
|
||||
command = "./bin/polkadot-parachain"
|
||||
|
||||
[[parachains]]
|
||||
@@ -46,4 +50,5 @@ cumulus_based = true
|
||||
|
||||
[[parachains.collators]]
|
||||
name = "collator4"
|
||||
ws_port = 9921
|
||||
command = "./bin/polkadot-parachain"
|
||||
|
||||
@@ -56,13 +56,13 @@ tests:
|
||||
]
|
||||
events:
|
||||
- name: sudo.Sudid
|
||||
attribute:
|
||||
type: Result<Null, SpRuntimeDispatchError>
|
||||
value: Ok
|
||||
attributes:
|
||||
- type: Result<Null, SpRuntimeDispatchError>
|
||||
value: Ok
|
||||
- name: xcmPallet.SupportedVersionChanged
|
||||
attribute:
|
||||
type: u32
|
||||
value: *xcm_version
|
||||
attributes:
|
||||
- type: u32
|
||||
value: *xcm_version
|
||||
- extrinsics: # Relay Chain sets supported version for Penpal Parachain
|
||||
- chain: *relay_chain
|
||||
sudo: true
|
||||
@@ -82,13 +82,13 @@ tests:
|
||||
]
|
||||
events:
|
||||
- name: sudo.Sudid
|
||||
attribute:
|
||||
type: Result<Null, SpRuntimeDispatchError>
|
||||
value: Ok
|
||||
attributes:
|
||||
- type: Result<Null, SpRuntimeDispatchError>
|
||||
value: Ok
|
||||
- name: xcmPallet.SupportedVersionChanged
|
||||
attribute:
|
||||
type: u32
|
||||
value: *xcm_version
|
||||
attributes:
|
||||
- type: u32
|
||||
value: *xcm_version
|
||||
- extrinsics: # Assset Parachain sets supported version for Relay Chain through it
|
||||
- chain: *relay_chain
|
||||
signer: *rc_signer
|
||||
@@ -111,15 +111,15 @@ tests:
|
||||
]
|
||||
events:
|
||||
- name: sudo.Sudid
|
||||
attribute:
|
||||
type: Result<Null, SpRuntimeDispatchError>
|
||||
value: Ok
|
||||
attributes:
|
||||
- type: Result<Null, SpRuntimeDispatchError>
|
||||
value: Ok
|
||||
- name: xcmPallet.Sent
|
||||
- name: polkadotXcm.SupportedVersionChanged
|
||||
chain: *assets_parachain
|
||||
attribute:
|
||||
type: u32
|
||||
value: *xcm_version
|
||||
attributes:
|
||||
- type: u32
|
||||
value: *xcm_version
|
||||
- extrinsics: # Penpal Parachain sets supported version for Relay Chain
|
||||
- chain: *penpal_parachain
|
||||
signer: *pp_signer
|
||||
@@ -135,10 +135,10 @@ tests:
|
||||
]
|
||||
events:
|
||||
- name: sudo.Sudid
|
||||
attribute:
|
||||
type: Result<Null, SpRuntimeDispatchError>
|
||||
value: Ok
|
||||
attributes:
|
||||
- type: Result<Null, SpRuntimeDispatchError>
|
||||
value: Ok
|
||||
- name: polkadotXcm.SupportedVersionChanged
|
||||
attribute:
|
||||
type: u32
|
||||
value: *xcm_version
|
||||
attributes:
|
||||
- type: u32
|
||||
value: *xcm_version
|
||||
|
||||
@@ -69,16 +69,16 @@ tests:
|
||||
]
|
||||
events:
|
||||
- name: xcmPallet.Attempted
|
||||
attribute:
|
||||
type: XcmV2TraitsOutcome
|
||||
isComplete: true
|
||||
attributes:
|
||||
- type: XcmV2TraitsOutcome
|
||||
xcmOutcome: Complete
|
||||
- name: dmpQueue.ExecutedDownward
|
||||
chain: *assets_parachain
|
||||
attribute:
|
||||
type: XcmV2TraitsOutcome
|
||||
isComplete: true
|
||||
threshold: [10, 10]
|
||||
value: 1,021,973,000
|
||||
attributes:
|
||||
- type: XcmV2TraitsOutcome
|
||||
xcmOutcome: Complete
|
||||
threshold: [10, 10]
|
||||
value: 1,021,973,000
|
||||
- queries:
|
||||
balance_rc_sender_after:
|
||||
chain: *relay_chain
|
||||
@@ -146,11 +146,11 @@ tests:
|
||||
- name: xcmPallet.Sent
|
||||
- name: dmpQueue.ExecutedDownward
|
||||
chain: *assets_parachain
|
||||
attribute:
|
||||
type: XcmV2TraitsOutcome
|
||||
isComplete: true
|
||||
threshold: [10, 10]
|
||||
value: 1,021,258,000
|
||||
attributes:
|
||||
- type: XcmV2TraitsOutcome
|
||||
xcmOutcome: Complete
|
||||
threshold: [10, 10]
|
||||
value: 1,021,258,000
|
||||
- queries:
|
||||
forced_created_asset:
|
||||
chain: *assets_parachain
|
||||
@@ -186,9 +186,9 @@ tests:
|
||||
]
|
||||
events:
|
||||
- name: system.ExtrinsicFailed
|
||||
attribute:
|
||||
type: SpRuntimeDispatchError
|
||||
value: BadOrigin
|
||||
attributes:
|
||||
- type: SpRuntimeDispatchError
|
||||
value: BadOrigin
|
||||
|
||||
- name: xcmPallet.limitedReserveTransferAssets
|
||||
before: *before_get_balances
|
||||
@@ -209,17 +209,17 @@ tests:
|
||||
]
|
||||
events:
|
||||
- name: xcmPallet.Attempted
|
||||
attribute:
|
||||
type: XcmV2TraitsOutcome
|
||||
isComplete: true
|
||||
threshold: [10, 10]
|
||||
value: 750,645,000
|
||||
attributes:
|
||||
- type: XcmV2TraitsOutcome
|
||||
xcmOutcome: Complete
|
||||
threshold: [10, 10]
|
||||
value: 750,645,000
|
||||
- name: dmpQueue.ExecutedDownward
|
||||
chain: *assets_parachain
|
||||
attribute:
|
||||
type: XcmV2TraitsOutcome
|
||||
isError: true
|
||||
value: "WeightNotComputable"
|
||||
attributes:
|
||||
- type: XcmV2TraitsOutcome
|
||||
xcmOutcome: Error
|
||||
value: "WeightNotComputable"
|
||||
- queries:
|
||||
balance_rc_sender_after:
|
||||
chain: *relay_chain
|
||||
|
||||
@@ -54,16 +54,16 @@ tests:
|
||||
]
|
||||
events:
|
||||
- name: xcmPallet.Attempted
|
||||
attribute:
|
||||
type: XcmV2TraitsOutcome
|
||||
isComplete: true
|
||||
attributes:
|
||||
- type: XcmV2TraitsOutcome
|
||||
xcmOutcome: Complete
|
||||
- name: dmpQueue.ExecutedDownward
|
||||
chain: *assets_parachain
|
||||
attribute:
|
||||
type: XcmV2TraitsOutcome
|
||||
isComplete: true
|
||||
threshold: [10, 10]
|
||||
value: 1,021,973,000
|
||||
attributes:
|
||||
- type: XcmV2TraitsOutcome
|
||||
xcmOutcome: Complete
|
||||
threshold: [10, 10]
|
||||
value: 1,021,973,000
|
||||
|
||||
- name: Get the balances of the Assets Parachain's sender & Relay Chain's receiver
|
||||
actions:
|
||||
@@ -95,18 +95,18 @@ tests:
|
||||
]
|
||||
events:
|
||||
- name: polkadotXcm.Attempted
|
||||
attribute:
|
||||
type: XcmV2TraitsOutcome
|
||||
isComplete: true
|
||||
threshold: [10, 10]
|
||||
value: 360,315,000
|
||||
attributes:
|
||||
- type: XcmV2TraitsOutcome
|
||||
xcmOutcome: Complete
|
||||
threshold: [10, 10]
|
||||
value: 360,315,000
|
||||
- name: ump.ExecutedUpward
|
||||
chain: *relay_chain
|
||||
attribute:
|
||||
type: XcmV2TraitsOutcome
|
||||
isComplete: true
|
||||
threshold: [10, 10]
|
||||
value: 297,578,000
|
||||
attributes:
|
||||
- type: XcmV2TraitsOutcome
|
||||
xcmOutcome: Complete
|
||||
threshold: [10, 10]
|
||||
value: 297,578,000
|
||||
- queries:
|
||||
balance_ap_sender_after:
|
||||
chain: *assets_parachain
|
||||
@@ -171,9 +171,9 @@ tests:
|
||||
]
|
||||
events:
|
||||
- name: system.ExtrinsicFailed
|
||||
attribute:
|
||||
type: SpRuntimeDispatchError
|
||||
value: BadOrigin
|
||||
attributes:
|
||||
- type: SpRuntimeDispatchError
|
||||
value: BadOrigin
|
||||
|
||||
- name: polkadotXcm.limitedReserveTransferAssets
|
||||
its:
|
||||
@@ -193,7 +193,7 @@ tests:
|
||||
]
|
||||
events:
|
||||
- name: polkadotXcm.Attempted
|
||||
attribute:
|
||||
type: XcmV2TraitsOutcome
|
||||
isError: true
|
||||
value: Barrier
|
||||
attributes:
|
||||
- type: XcmV2TraitsOutcome
|
||||
xcmOutcome: Error
|
||||
value: Barrier
|
||||
|
||||
@@ -194,17 +194,17 @@ tests:
|
||||
]
|
||||
events:
|
||||
- name: sudo.Sudid
|
||||
attribute:
|
||||
type: Result<Null, SpRuntimeDispatchError>
|
||||
value: Ok
|
||||
attributes:
|
||||
- type: Result<Null, SpRuntimeDispatchError>
|
||||
value: Ok
|
||||
- name: polkadotXcm.Sent
|
||||
- name: ump.ExecutedUpward
|
||||
chain: *relay_chain
|
||||
attribute:
|
||||
type: XcmV2TraitsOutcome
|
||||
isComplete: true
|
||||
threshold: [10, 10]
|
||||
value: 1,160,892,000
|
||||
attributes:
|
||||
- type: XcmV2TraitsOutcome
|
||||
xcmOutcome: Complete
|
||||
threshold: [10, 10]
|
||||
value: 1,160,892,000
|
||||
- name: hrmp.OpenChannelRequested
|
||||
chain: *relay_chain
|
||||
- queries:
|
||||
@@ -251,26 +251,26 @@ tests:
|
||||
]
|
||||
events:
|
||||
- name: sudo.Sudid
|
||||
attribute:
|
||||
type: Result<Null, SpRuntimeDispatchError>
|
||||
value: Ok
|
||||
attributes:
|
||||
- type: Result<Null, SpRuntimeDispatchError>
|
||||
value: Ok
|
||||
- name: xcmPallet.Sent
|
||||
- name: dmpQueue.ExecutedDownward
|
||||
chain: *assets_parachain
|
||||
attribute:
|
||||
type: XcmV2TraitsOutcome
|
||||
isComplete: true
|
||||
threshold: [10, 10]
|
||||
value: 1,021,258,000
|
||||
attributes:
|
||||
- type: XcmV2TraitsOutcome
|
||||
xcmOutcome: Complete
|
||||
threshold: [10, 10]
|
||||
value: 1,021,258,000
|
||||
- name: polkadotXcm.Sent
|
||||
chain: *assets_parachain
|
||||
- name: ump.ExecutedUpward
|
||||
timeout: 40000
|
||||
attribute:
|
||||
type: XcmV2TraitsOutcome
|
||||
isComplete: true
|
||||
threshold: [10, 10]
|
||||
value: 1,160,892,000
|
||||
attributes:
|
||||
- type: XcmV2TraitsOutcome
|
||||
xcmOutcome: Complete
|
||||
threshold: [10, 10]
|
||||
value: 1,160,892,000
|
||||
- name: hrmp.OpenChannelAccepted
|
||||
timeout: 40000
|
||||
- queries:
|
||||
@@ -318,26 +318,26 @@ tests:
|
||||
]
|
||||
events:
|
||||
- name: sudo.Sudid
|
||||
attribute:
|
||||
type: Result<Null, SpRuntimeDispatchError>
|
||||
value: Ok
|
||||
attributes:
|
||||
- type: Result<Null, SpRuntimeDispatchError>
|
||||
value: Ok
|
||||
- name: xcmPallet.Sent
|
||||
- name: dmpQueue.ExecutedDownward
|
||||
chain: *assets_parachain
|
||||
attribute:
|
||||
type: XcmV2TraitsOutcome
|
||||
isComplete: true
|
||||
threshold: [10, 10]
|
||||
value: 1,021,258,000
|
||||
attributes:
|
||||
- type: XcmV2TraitsOutcome
|
||||
xcmOutcome: Complete
|
||||
threshold: [10, 10]
|
||||
value: 1,021,258,000
|
||||
- name: polkadotXcm.Sent
|
||||
chain: *assets_parachain
|
||||
- name: ump.ExecutedUpward
|
||||
timeout: 40000
|
||||
attribute:
|
||||
type: XcmV2TraitsOutcome
|
||||
isComplete: true
|
||||
threshold: [10, 10]
|
||||
value: 1,160,892,000
|
||||
attributes:
|
||||
- type: XcmV2TraitsOutcome
|
||||
xcmOutcome: Complete
|
||||
threshold: [10, 10]
|
||||
value: 1,160,892,000
|
||||
- name: hrmp.OpenChannelRequested
|
||||
timeout: 40000
|
||||
- queries:
|
||||
@@ -393,16 +393,16 @@ tests:
|
||||
]
|
||||
events:
|
||||
- name: sudo.Sudid
|
||||
attribute:
|
||||
type: Result<Null, SpRuntimeDispatchError>
|
||||
value: Ok
|
||||
attributes:
|
||||
- type: Result<Null, SpRuntimeDispatchError>
|
||||
value: Ok
|
||||
- name: polkadotXcm.Sent
|
||||
- name: ump.ExecutedUpward
|
||||
chain: *relay_chain
|
||||
attribute:
|
||||
type: XcmV2TraitsOutcome
|
||||
isComplete: true
|
||||
threshold: [10, 10]
|
||||
value: 1,160,892,000
|
||||
attributes:
|
||||
- type: XcmV2TraitsOutcome
|
||||
xcmOutcome: Complete
|
||||
threshold: [10, 10]
|
||||
value: 1,160,892,000
|
||||
- name: hrmp.OpenChannelAccepted
|
||||
chain: *relay_chain
|
||||
|
||||
@@ -84,11 +84,11 @@ tests:
|
||||
- name: xcmPallet.Sent
|
||||
- name: dmpQueue.ExecutedDownward
|
||||
chain: *assets_parachain
|
||||
attribute:
|
||||
type: XcmV2TraitsOutcome
|
||||
isComplete: true
|
||||
threshold: [10, 10]
|
||||
value: 1,021,258,000
|
||||
attributes:
|
||||
- type: XcmV2TraitsOutcome
|
||||
xcmOutcome: Complete
|
||||
threshold: [10, 10]
|
||||
value: 1,021,258,000
|
||||
- queries:
|
||||
forced_created_asset:
|
||||
chain: *assets_parachain
|
||||
@@ -166,19 +166,19 @@ tests:
|
||||
]
|
||||
events:
|
||||
- name: polkadotXcm.Attempted
|
||||
attribute:
|
||||
type: XcmV2TraitsOutcome
|
||||
isComplete: true
|
||||
threshold: [10, 10]
|
||||
value: 654,608,000
|
||||
attributes:
|
||||
- type: XcmV2TraitsOutcome
|
||||
xcmOutcome: Complete
|
||||
threshold: [10, 10]
|
||||
value: 654,608,000
|
||||
- name: assets.Transferred
|
||||
attribute:
|
||||
type: AccountId32
|
||||
value: *pp_sovereign_sibl
|
||||
attributes:
|
||||
- type: AccountId32
|
||||
value: *pp_sovereign_sibl
|
||||
- name: assets.Transferred
|
||||
attribute:
|
||||
type: u128
|
||||
value: *amount_to_send
|
||||
attributes:
|
||||
- type: u128
|
||||
value: *amount_to_send
|
||||
|
||||
- name: polkadotXcm.limitedReserveTransferAssets (KSM) | Assets Parachain -> Penpal Parachain
|
||||
its:
|
||||
@@ -214,19 +214,19 @@ tests:
|
||||
]
|
||||
events:
|
||||
- name: polkadotXcm.Attempted
|
||||
attribute:
|
||||
type: XcmV2TraitsOutcome
|
||||
isComplete: true
|
||||
threshold: [10, 10]
|
||||
value: 654,608,000
|
||||
attributes:
|
||||
- type: XcmV2TraitsOutcome
|
||||
xcmOutcome: Complete
|
||||
threshold: [10, 10]
|
||||
value: 654,608,000
|
||||
- name: balances.Endowed
|
||||
attribute:
|
||||
type: AccountId32
|
||||
value: *pp_sovereign_sibl
|
||||
attributes:
|
||||
- type: AccountId32
|
||||
value: *pp_sovereign_sibl
|
||||
- name: balances.Endowed
|
||||
attribute:
|
||||
type: u128
|
||||
value: *amount
|
||||
attributes:
|
||||
- type: u128
|
||||
value: *amount
|
||||
|
||||
- name: polkadotXcm.send( system.remarkWithEvent() ) | Penpal Parachain -> Assets Parachain
|
||||
before:
|
||||
@@ -275,25 +275,25 @@ tests:
|
||||
]
|
||||
events:
|
||||
- name: sudo.Sudid
|
||||
attribute:
|
||||
type: Result<Null, SpRuntimeDispatchError>
|
||||
value: Ok
|
||||
attributes:
|
||||
- type: Result<Null, SpRuntimeDispatchError>
|
||||
value: Ok
|
||||
- name: polkadotXcm.Sent
|
||||
- name: assets.Burned
|
||||
chain: *assets_parachain
|
||||
attribute:
|
||||
type: AccountId32
|
||||
value: *pp_sovereign_sibl
|
||||
attributes:
|
||||
- type: AccountId32
|
||||
value: *pp_sovereign_sibl
|
||||
- name: assets.Issued
|
||||
chain: *assets_parachain
|
||||
attribute:
|
||||
type: u32
|
||||
value: *asset_id
|
||||
attributes:
|
||||
- type: u32
|
||||
value: *asset_id
|
||||
- name: system.Remarked
|
||||
chain: *assets_parachain
|
||||
attribute:
|
||||
type: AccountId32
|
||||
value: *pp_sovereign_sibl
|
||||
attributes:
|
||||
- type: AccountId32
|
||||
value: *pp_sovereign_sibl
|
||||
- queries:
|
||||
assets_balance_pp_sovereign_after:
|
||||
chain: *assets_parachain
|
||||
@@ -351,6 +351,6 @@ tests:
|
||||
events:
|
||||
- name: xcmpQueue.Fail
|
||||
chain: *assets_parachain
|
||||
attribute:
|
||||
type: XcmV2TraitsError
|
||||
value: FailedToTransactAsset
|
||||
attributes:
|
||||
- type: XcmV2TraitsError
|
||||
value: FailedToTransactAsset
|
||||
|
||||
@@ -5,19 +5,22 @@ chain = "polkadot-local"
|
||||
|
||||
[[relaychain.nodes]]
|
||||
name = "alice"
|
||||
ws_port = 9900
|
||||
ws_port = 9800
|
||||
validator = true
|
||||
|
||||
[[relaychain.nodes]]
|
||||
name = "bob"
|
||||
ws_port = 9801
|
||||
validator = true
|
||||
|
||||
[[relaychain.nodes]]
|
||||
name = "charlie"
|
||||
ws_port = 9802
|
||||
validator = true
|
||||
|
||||
[[relaychain.nodes]]
|
||||
name = "dave"
|
||||
ws_port = 9803
|
||||
validator = true
|
||||
|
||||
[[parachains]]
|
||||
@@ -27,11 +30,12 @@ cumulus_based = true
|
||||
|
||||
[[parachains.collators]]
|
||||
name = "collator1"
|
||||
ws_port = 9910
|
||||
ws_port = 9810
|
||||
command = "./bin/polkadot-parachain"
|
||||
|
||||
[[parachains.collators]]
|
||||
name = "collator2"
|
||||
ws_port = 9811
|
||||
command = "./bin/polkadot-parachain"
|
||||
|
||||
[[parachains]]
|
||||
@@ -41,9 +45,10 @@ cumulus_based = true
|
||||
|
||||
[[parachains.collators]]
|
||||
name = "collator3"
|
||||
ws_port = 9920
|
||||
ws_port = 9820
|
||||
command = "./bin/polkadot-parachain"
|
||||
|
||||
[[parachains.collators]]
|
||||
name = "collator4"
|
||||
ws_port = 9821
|
||||
command = "./bin/polkadot-parachain"
|
||||
|
||||
@@ -56,13 +56,13 @@ tests:
|
||||
]
|
||||
events:
|
||||
- name: sudo.Sudid
|
||||
attribute:
|
||||
type: Result<Null, SpRuntimeDispatchError>
|
||||
value: Ok
|
||||
attributes:
|
||||
- type: Result<Null, SpRuntimeDispatchError>
|
||||
value: Ok
|
||||
- name: xcmPallet.SupportedVersionChanged
|
||||
attribute:
|
||||
type: u32
|
||||
value: *xcm_version
|
||||
attributes:
|
||||
- type: u32
|
||||
value: *xcm_version
|
||||
- extrinsics: # Relay Chain sets supported version for Penpal Parachain
|
||||
- chain: *relay_chain
|
||||
sudo: true
|
||||
@@ -82,13 +82,13 @@ tests:
|
||||
]
|
||||
events:
|
||||
- name: sudo.Sudid
|
||||
attribute:
|
||||
type: Result<Null, SpRuntimeDispatchError>
|
||||
value: Ok
|
||||
attributes:
|
||||
- type: Result<Null, SpRuntimeDispatchError>
|
||||
value: Ok
|
||||
- name: xcmPallet.SupportedVersionChanged
|
||||
attribute:
|
||||
type: u32
|
||||
value: *xcm_version
|
||||
attributes:
|
||||
- type: u32
|
||||
value: *xcm_version
|
||||
- extrinsics: # Assset Parachain sets supported version for Relay Chain through it
|
||||
- chain: *relay_chain
|
||||
signer: *rc_signer
|
||||
@@ -111,15 +111,15 @@ tests:
|
||||
]
|
||||
events:
|
||||
- name: sudo.Sudid
|
||||
attribute:
|
||||
type: Result<Null, SpRuntimeDispatchError>
|
||||
value: Ok
|
||||
attributes:
|
||||
- type: Result<Null, SpRuntimeDispatchError>
|
||||
value: Ok
|
||||
- name: xcmPallet.Sent
|
||||
- name: polkadotXcm.SupportedVersionChanged
|
||||
chain: *assets_parachain
|
||||
attribute:
|
||||
type: u32
|
||||
value: *xcm_version
|
||||
attributes:
|
||||
- type: u32
|
||||
value: *xcm_version
|
||||
- extrinsics: # Penpal Parachain sets supported version for Relay Chain
|
||||
- chain: *penpal_parachain
|
||||
signer: *pp_signer
|
||||
@@ -135,10 +135,10 @@ tests:
|
||||
]
|
||||
events:
|
||||
- name: sudo.Sudid
|
||||
attribute:
|
||||
type: Result<Null, SpRuntimeDispatchError>
|
||||
value: Ok
|
||||
attributes:
|
||||
- type: Result<Null, SpRuntimeDispatchError>
|
||||
value: Ok
|
||||
- name: polkadotXcm.SupportedVersionChanged
|
||||
attribute:
|
||||
type: u32
|
||||
value: *xcm_version
|
||||
attributes:
|
||||
- type: u32
|
||||
value: *xcm_version
|
||||
|
||||
@@ -69,16 +69,16 @@ tests:
|
||||
]
|
||||
events:
|
||||
- name: xcmPallet.Attempted
|
||||
attribute:
|
||||
type: XcmV2TraitsOutcome
|
||||
isComplete: true
|
||||
attributes:
|
||||
- type: XcmV2TraitsOutcome
|
||||
xcmOutcome: Complete
|
||||
- name: dmpQueue.ExecutedDownward
|
||||
chain: *assets_parachain
|
||||
attribute:
|
||||
type: XcmV2TraitsOutcome
|
||||
isComplete: true
|
||||
threshold: [10, 10]
|
||||
value: 1,021,635,000
|
||||
attributes:
|
||||
- type: XcmV2TraitsOutcome
|
||||
xcmOutcome: Complete
|
||||
threshold: [10, 10]
|
||||
value: 1,021,635,000
|
||||
- queries:
|
||||
balance_rc_sender_after:
|
||||
chain: *relay_chain
|
||||
@@ -146,11 +146,11 @@ tests:
|
||||
- name: xcmPallet.Sent
|
||||
- name: dmpQueue.ExecutedDownward
|
||||
chain: *assets_parachain
|
||||
attribute:
|
||||
type: XcmV2TraitsOutcome
|
||||
isComplete: true
|
||||
threshold: [10, 10]
|
||||
value: 1,020,807,000
|
||||
attributes:
|
||||
- type: XcmV2TraitsOutcome
|
||||
xcmOutcome: Complete
|
||||
threshold: [10, 10]
|
||||
value: 1,020,807,000
|
||||
- queries:
|
||||
forced_created_asset:
|
||||
chain: *assets_parachain
|
||||
@@ -186,9 +186,9 @@ tests:
|
||||
]
|
||||
events:
|
||||
- name: system.ExtrinsicFailed
|
||||
attribute:
|
||||
type: SpRuntimeDispatchError
|
||||
value: BadOrigin
|
||||
attributes:
|
||||
- type: SpRuntimeDispatchError
|
||||
value: BadOrigin
|
||||
|
||||
- name: xcmPallet.limitedReserveTransferAssets
|
||||
before: *before_get_balances
|
||||
@@ -209,16 +209,16 @@ tests:
|
||||
]
|
||||
events:
|
||||
- name: xcmPallet.Attempted
|
||||
attribute:
|
||||
type: XcmV2TraitsOutcome
|
||||
isComplete: true
|
||||
value: 1,000,000,000
|
||||
attributes:
|
||||
- type: XcmV2TraitsOutcome
|
||||
xcmOutcome: Complete
|
||||
value: 1,000,000,000
|
||||
- name: dmpQueue.ExecutedDownward
|
||||
chain: *assets_parachain
|
||||
attribute:
|
||||
type: XcmV2TraitsOutcome
|
||||
isError: true
|
||||
value: "WeightNotComputable"
|
||||
attributes:
|
||||
- type: XcmV2TraitsOutcome
|
||||
xcmOutcome: Error
|
||||
value: "WeightNotComputable"
|
||||
- queries:
|
||||
balance_rc_sender_after:
|
||||
chain: *relay_chain
|
||||
|
||||
@@ -54,16 +54,16 @@ tests:
|
||||
]
|
||||
events:
|
||||
- name: xcmPallet.Attempted
|
||||
attribute:
|
||||
type: XcmV2TraitsOutcome
|
||||
isComplete: true
|
||||
attributes:
|
||||
- type: XcmV2TraitsOutcome
|
||||
xcmOutcome: Complete
|
||||
- name: dmpQueue.ExecutedDownward
|
||||
chain: *assets_parachain
|
||||
attribute:
|
||||
type: XcmV2TraitsOutcome
|
||||
isComplete: true
|
||||
threshold: [10, 10]
|
||||
value: 1,021,635,000
|
||||
attributes:
|
||||
- type: XcmV2TraitsOutcome
|
||||
xcmOutcome: Complete
|
||||
threshold: [10, 10]
|
||||
value: 1,021,635,000
|
||||
|
||||
- name: Get the balances of the Assets Parachain's sender & Relay Chain's receiver
|
||||
actions:
|
||||
@@ -96,17 +96,17 @@ tests:
|
||||
]
|
||||
events:
|
||||
- name: polkadotXcm.Attempted
|
||||
attribute:
|
||||
type: XcmV2TraitsOutcome
|
||||
isComplete: true
|
||||
threshold: [10, 10]
|
||||
value: 358,878,000
|
||||
attributes:
|
||||
- type: XcmV2TraitsOutcome
|
||||
xcmOutcome: Complete
|
||||
threshold: [10, 10]
|
||||
value: 358,878,000
|
||||
- name: ump.ExecutedUpward
|
||||
chain: *relay_chain
|
||||
attribute:
|
||||
type: XcmV2TraitsOutcome
|
||||
isComplete: true
|
||||
value: 4,000,000,000
|
||||
attributes:
|
||||
- type: XcmV2TraitsOutcome
|
||||
xcmOutcome: Complete
|
||||
value: 4,000,000,000
|
||||
- queries:
|
||||
balance_ap_sender_after:
|
||||
chain: *assets_parachain
|
||||
@@ -171,9 +171,9 @@ tests:
|
||||
]
|
||||
events:
|
||||
- name: system.ExtrinsicFailed
|
||||
attribute:
|
||||
type: SpRuntimeDispatchError
|
||||
value: BadOrigin
|
||||
attributes:
|
||||
- type: SpRuntimeDispatchError
|
||||
value: BadOrigin
|
||||
|
||||
- name: polkadotXcm.limitedReserveTransferAssets
|
||||
its:
|
||||
@@ -193,7 +193,7 @@ tests:
|
||||
]
|
||||
events:
|
||||
- name: polkadotXcm.Attempted
|
||||
attribute:
|
||||
type: XcmV2TraitsOutcome
|
||||
isError: true
|
||||
value: Barrier
|
||||
attributes:
|
||||
- type: XcmV2TraitsOutcome
|
||||
xcmOutcome: Error
|
||||
value: Barrier
|
||||
|
||||
@@ -192,16 +192,16 @@ tests:
|
||||
]
|
||||
events:
|
||||
- name: sudo.Sudid
|
||||
attribute:
|
||||
type: Result<Null, SpRuntimeDispatchError>
|
||||
value: Ok
|
||||
attributes:
|
||||
- type: Result<Null, SpRuntimeDispatchError>
|
||||
value: Ok
|
||||
- name: polkadotXcm.Sent
|
||||
- name: ump.ExecutedUpward
|
||||
chain: *relay_chain
|
||||
attribute:
|
||||
type: XcmV2TraitsOutcome
|
||||
isComplete: true
|
||||
value: 4,000,000,000
|
||||
attributes:
|
||||
- type: XcmV2TraitsOutcome
|
||||
xcmOutcome: Complete
|
||||
value: 4,000,000,000
|
||||
- name: hrmp.OpenChannelRequested
|
||||
chain: *relay_chain
|
||||
- queries:
|
||||
@@ -248,25 +248,25 @@ tests:
|
||||
]
|
||||
events:
|
||||
- name: sudo.Sudid
|
||||
attribute:
|
||||
type: Result<Null, SpRuntimeDispatchError>
|
||||
value: Ok
|
||||
attributes:
|
||||
- type: Result<Null, SpRuntimeDispatchError>
|
||||
value: Ok
|
||||
- name: xcmPallet.Sent
|
||||
- name: dmpQueue.ExecutedDownward
|
||||
chain: *assets_parachain
|
||||
attribute:
|
||||
type: XcmV2TraitsOutcome
|
||||
isComplete: true
|
||||
threshold: [10, 10]
|
||||
value: 1,020,807,000
|
||||
attributes:
|
||||
- type: XcmV2TraitsOutcome
|
||||
xcmOutcome: Complete
|
||||
threshold: [10, 10]
|
||||
value: 1,020,807,000
|
||||
- name: polkadotXcm.Sent
|
||||
chain: *assets_parachain
|
||||
- name: ump.ExecutedUpward
|
||||
timeout: 40000
|
||||
attribute:
|
||||
type: XcmV2TraitsOutcome
|
||||
isComplete: true
|
||||
value: 4,000,000,000
|
||||
attributes:
|
||||
- type: XcmV2TraitsOutcome
|
||||
xcmOutcome: Complete
|
||||
value: 4,000,000,000
|
||||
- name: hrmp.OpenChannelAccepted
|
||||
timeout: 40000
|
||||
- queries:
|
||||
@@ -314,25 +314,25 @@ tests:
|
||||
]
|
||||
events:
|
||||
- name: sudo.Sudid
|
||||
attribute:
|
||||
type: Result<Null, SpRuntimeDispatchError>
|
||||
value: Ok
|
||||
attributes:
|
||||
- type: Result<Null, SpRuntimeDispatchError>
|
||||
value: Ok
|
||||
- name: xcmPallet.Sent
|
||||
- name: dmpQueue.ExecutedDownward
|
||||
chain: *assets_parachain
|
||||
attribute:
|
||||
type: XcmV2TraitsOutcome
|
||||
isComplete: true
|
||||
threshold: [10, 10]
|
||||
value: 1,020,807,000
|
||||
attributes:
|
||||
- type: XcmV2TraitsOutcome
|
||||
xcmOutcome: Complete
|
||||
threshold: [10, 10]
|
||||
value: 1,020,807,000
|
||||
- name: polkadotXcm.Sent
|
||||
chain: *assets_parachain
|
||||
- name: ump.ExecutedUpward
|
||||
timeout: 40000
|
||||
attribute:
|
||||
type: XcmV2TraitsOutcome
|
||||
isComplete: true
|
||||
value: 4,000,000,000
|
||||
attributes:
|
||||
- type: XcmV2TraitsOutcome
|
||||
xcmOutcome: Complete
|
||||
value: 4,000,000,000
|
||||
- name: hrmp.OpenChannelRequested
|
||||
timeout: 40000
|
||||
- queries:
|
||||
@@ -388,15 +388,15 @@ tests:
|
||||
]
|
||||
events:
|
||||
- name: sudo.Sudid
|
||||
attribute:
|
||||
type: Result<Null, SpRuntimeDispatchError>
|
||||
value: Ok
|
||||
attributes:
|
||||
- type: Result<Null, SpRuntimeDispatchError>
|
||||
value: Ok
|
||||
- name: polkadotXcm.Sent
|
||||
- name: ump.ExecutedUpward
|
||||
chain: *relay_chain
|
||||
attribute:
|
||||
type: XcmV2TraitsOutcome
|
||||
isComplete: true
|
||||
value: 4,000,000,000
|
||||
attributes:
|
||||
- type: XcmV2TraitsOutcome
|
||||
xcmOutcome: Complete
|
||||
value: 4,000,000,000
|
||||
- name: hrmp.OpenChannelAccepted
|
||||
chain: *relay_chain
|
||||
|
||||
@@ -84,11 +84,11 @@ tests:
|
||||
- name: xcmPallet.Sent
|
||||
- name: dmpQueue.ExecutedDownward
|
||||
chain: *assets_parachain
|
||||
attribute:
|
||||
type: XcmV2TraitsOutcome
|
||||
isComplete: true
|
||||
threshold: [10, 10]
|
||||
value: 1,020,807,000
|
||||
attributes:
|
||||
- type: XcmV2TraitsOutcome
|
||||
xcmOutcome: Complete
|
||||
threshold: [10, 10]
|
||||
value: 1,020,807,000
|
||||
- queries:
|
||||
forced_created_asset:
|
||||
chain: *assets_parachain
|
||||
@@ -165,19 +165,19 @@ tests:
|
||||
]
|
||||
events:
|
||||
- name: polkadotXcm.Attempted
|
||||
attribute:
|
||||
type: XcmV2TraitsOutcome
|
||||
isComplete: true
|
||||
threshold: [10, 10]
|
||||
value: 654,404,000
|
||||
attributes:
|
||||
- type: XcmV2TraitsOutcome
|
||||
xcmOutcome: Complete
|
||||
threshold: [10, 10]
|
||||
value: 654,404,000
|
||||
- name: assets.Transferred
|
||||
attribute:
|
||||
type: AccountId32
|
||||
value: *pp_sovereign_sibl
|
||||
attributes:
|
||||
- type: AccountId32
|
||||
value: *pp_sovereign_sibl
|
||||
- name: assets.Transferred
|
||||
attribute:
|
||||
type: u128
|
||||
value: *amount_to_send
|
||||
attributes:
|
||||
- type: u128
|
||||
value: *amount_to_send
|
||||
|
||||
- name: polkadotXcm.limitedReserveTransferAssets (KSM) | Assets Parachain -> Penpal Parachain
|
||||
its:
|
||||
@@ -213,16 +213,16 @@ tests:
|
||||
]
|
||||
events:
|
||||
- name: polkadotXcm.Attempted
|
||||
attribute:
|
||||
type: XcmV2TraitsOutcome
|
||||
isComplete: true
|
||||
threshold: [10, 10]
|
||||
value: 654,404,000
|
||||
attributes:
|
||||
- type: XcmV2TraitsOutcome
|
||||
xcmOutcome: Complete
|
||||
threshold: [10, 10]
|
||||
value: 654,404,000
|
||||
- name: balances.Endowed
|
||||
attribute:
|
||||
type: AccountId32
|
||||
value: *pp_sovereign_sibl
|
||||
attributes:
|
||||
- type: AccountId32
|
||||
value: *pp_sovereign_sibl
|
||||
- name: balances.Endowed
|
||||
attribute:
|
||||
type: u128
|
||||
value: *amount
|
||||
attributes:
|
||||
- type: u128
|
||||
value: *amount
|
||||
|
||||
Reference in New Issue
Block a user