Tuple changed to struct (#2791)

(also made some of the results to be in one line
so they are similar to the others)
This commit is contained in:
Squirrel
2023-06-28 12:29:08 +01:00
committed by GitHub
parent 4baf9072aa
commit 60b92a7c80
12 changed files with 41 additions and 69 deletions
@@ -59,7 +59,7 @@ tests:
- name: sudo.Sudid
result: { sudoResult: Ok }
- name: xcmPallet.SupportedVersionChanged
result: [{ parents: 0, interior: { X1: { Parachain: *ap_id }}}, *xcm_version ]
result: { location: { parents: 0, interior: { X1: { Parachain: *ap_id }}}, version: *xcm_version }
- extrinsics: # Relay Chain sets supported version for Penpal Parachain
- chain: *relay_chain
sudo: true
@@ -81,7 +81,7 @@ tests:
- name: sudo.Sudid
result: { sudoResult: Ok }
- name: xcmPallet.SupportedVersionChanged
result: [{ parents: 0, interior: { X1: { Parachain: *pp_id }}}, *xcm_version ]
result: { location: { parents: 0, interior: { X1: { Parachain: *pp_id }}}, version: *xcm_version }
- extrinsics: # Asset Parachain sets supported version for Relay Chain through it
- chain: *relay_chain
signer: *rc_signer
@@ -124,7 +124,7 @@ tests:
}
- name: polkadotXcm.SupportedVersionChanged
chain: *assets_parachain
result: [{ parents: 1, interior: Here }, *xcm_version ]
result: { location: { parents: 1, interior: Here }, version: *xcm_version }
- extrinsics: # Penpal Parachain sets supported version for Relay Chain
- chain: *penpal_parachain
signer: *pp_signer
@@ -142,4 +142,4 @@ tests:
- name: sudo.Sudid
result: { sudoResult: Ok }
- name: polkadotXcm.SupportedVersionChanged
result: [{ parents: 1, interior: Here }, *xcm_version ]
result: { location: { parents: 1, interior: Here }, version: *xcm_version }
@@ -73,13 +73,11 @@ tests:
events:
- name: xcmPallet.Attempted
threshold: *weight_threshold
result: [{ Complete: { refTime: '764,772,000', proofSize: 0 }}]
result: { outcome: { Complete: { refTime: '764,772,000', proofSize: 0 }}}
- name: dmpQueue.ExecutedDownward
chain: *assets_parachain
threshold: *weight_threshold
result: {
outcome: { Complete: { refTime: '166,944,000', proofSize: 0 }}
}
result: { outcome: { Complete: { refTime: '166,944,000', proofSize: 0 }}}
- queries:
balance_rc_sender_after:
chain: *relay_chain
@@ -153,9 +151,7 @@ tests:
- name: dmpQueue.ExecutedDownward
chain: *assets_parachain
threshold: *weight_threshold
result: {
outcome: { Complete: { refTime: '1,014,103,000', proofSize: '200,000' }}
}
result: { outcome: { Complete: { refTime: '1,014,103,000', proofSize: '200,000' }}}
- queries:
forced_created_asset:
chain: *assets_parachain
@@ -218,7 +214,7 @@ tests:
events:
- name: xcmPallet.Attempted
threshold: *weight_threshold
result: [{ Complete: { refTime: '750,645,000', proofSize: 0 }}]
result: { outcome: { Complete: { refTime: '750,645,000', proofSize: 0 }}}
- name: dmpQueue.ExecutedDownward
chain: *assets_parachain
threshold: *weight_threshold
@@ -57,13 +57,11 @@ tests:
events:
- name: xcmPallet.Attempted
threshold: *weight_threshold
result: [{ Complete: { refTime: '761,173,000', proofSize: 0 }}]
result: { outcome: { Complete: { refTime: '761,173,000', proofSize: 0 }}}
- name: dmpQueue.ExecutedDownward
chain: *assets_parachain
threshold: *weight_threshold
result: {
outcome: { Complete: { refTime: '166,944,000', proofSize: 0 }}
}
result: { outcome: { Complete: { refTime: '166,944,000', proofSize: 0 }}}
- name: Get the balances of the Assets Parachain's sender & Relay Chain's receiver
actions:
@@ -96,7 +94,7 @@ tests:
events:
- name: polkadotXcm.Attempted
threshold: *weight_threshold
result: [{ Complete: { refTime: '539,494,000', proofSize: '7,133' }}]
result: { outcome: { Complete: { refTime: '539,494,000', proofSize: '7,133' }}}
- name: messageQueue.Processed
chain: *relay_chain
threshold: *weight_threshold
@@ -190,4 +188,4 @@ tests:
]
events:
- name: polkadotXcm.Attempted
result: [{ Error: Barrier }]
result: { outcome: { Error: Barrier }}
@@ -101,9 +101,7 @@ tests:
- name: dmpQueue.ExecutedDownward
chain: *assets_parachain
threshold: *weight_threshold
result: {
outcome: { Complete: { refTime: '1,216,703,000', proofSize: '20,000' }}
}
result: { outcome: { Complete: { refTime: '1,216,703,000', proofSize: '20,000' }}}
- queries:
forced_created_asset:
chain: *assets_parachain
@@ -182,7 +180,7 @@ tests:
events:
- name: polkadotXcm.Attempted
threshold: *weight_threshold
result: [{ Complete: { refTime: '679,150,000', proofSize: '6,196' }}]
result: { outcome: { Complete: { refTime: '679,150,000', proofSize: '6,196' }}}
- name: assets.Transferred
result: {
assetId: *asset_id,
@@ -225,7 +223,7 @@ tests:
events:
- name: polkadotXcm.Attempted
threshold: *weight_threshold
result: [{ Complete: { refTime: '679,150,000', proofSize: '6,196' }}]
result: { outcome: { Complete: { refTime: '679,150,000', proofSize: '6,196' }}}
- name: balances.Endowed
result: {
account: *pp_sovereign_sibl,
@@ -59,7 +59,7 @@ tests:
- name: sudo.Sudid
result: { sudoResult: Ok }
- name: xcmPallet.SupportedVersionChanged
result: [{ parents: 0, interior: { X1: { Parachain: *ap_id }}}, *xcm_version ]
result: { location: { parents: 0, interior: { X1: { Parachain: *ap_id }}}, version: *xcm_version }
- extrinsics: # Relay Chain sets supported version for Penpal Parachain
- chain: *relay_chain
sudo: true
@@ -81,7 +81,7 @@ tests:
- name: sudo.Sudid
result: { sudoResult: Ok }
- name: xcmPallet.SupportedVersionChanged
result: [{ parents: 0, interior: { X1: { Parachain: *pp_id }}}, *xcm_version ]
result: { location: { parents: 0, interior: { X1: { Parachain: *pp_id }}}, version: *xcm_version }
- extrinsics: # Asset Parachain sets supported version for Relay Chain through it
- chain: *relay_chain
signer: *rc_signer
@@ -124,7 +124,7 @@ tests:
}
- name: polkadotXcm.SupportedVersionChanged
chain: *assets_parachain
result: [{ parents: 1, interior: Here }, *xcm_version ]
result: { location: { parents: 1, interior: Here }, version: *xcm_version }
- extrinsics: # Penpal Parachain sets supported version for Relay Chain
- chain: *penpal_parachain
signer: *pp_signer
@@ -142,4 +142,4 @@ tests:
- name: sudo.Sudid
result: { sudoResult: Ok }
- name: polkadotXcm.SupportedVersionChanged
result: [{ parents: 1, interior: Here }, *xcm_version ]
result: { location: { parents: 1, interior: Here}, version: *xcm_version }
@@ -73,13 +73,11 @@ tests:
events:
- name: xcmPallet.Attempted
threshold: *weight_threshold
result: [{ Complete: { refTime: '3,000,000,000', proofSize: 0 }}]
result: { outcome: { Complete: { refTime: '3,000,000,000', proofSize: 0 }}}
- name: dmpQueue.ExecutedDownward
chain: *assets_parachain
threshold: *weight_threshold
result: {
outcome: { Complete: { refTime: '166,944,000', proofSize: 0 }}
}
result: { outcome: { Complete: { refTime: '166,944,000', proofSize: 0 }}}
- queries:
balance_rc_sender_after:
chain: *relay_chain
@@ -153,9 +151,7 @@ tests:
- name: dmpQueue.ExecutedDownward
chain: *assets_parachain
threshold: *weight_threshold
result: {
outcome: { Complete: { refTime: '1,014,103,000', proofSize: '200,000' }}
}
result: { outcome: { Complete: { refTime: '1,014,103,000', proofSize: '200,000' }}}
- queries:
forced_created_asset:
chain: *assets_parachain
@@ -218,7 +214,7 @@ tests:
events:
- name: xcmPallet.Attempted
threshold: *weight_threshold
result: [{ Complete: { refTime: '2,000,000,000', proofSize: 0 }}]
result: { outcome: { Complete: { refTime: '2,000,000,000', proofSize: 0 }}}
- name: dmpQueue.ExecutedDownward
chain: *assets_parachain
threshold: *weight_threshold
@@ -57,13 +57,11 @@ tests:
events:
- name: xcmPallet.Attempted
threshold: *weight_threshold
result: [{ Complete: { refTime: '3,000,000,000', proofSize: 0 }}]
result: { outcome: { Complete: { refTime: '3,000,000,000', proofSize: 0 }}}
- name: dmpQueue.ExecutedDownward
chain: *assets_parachain
threshold: *weight_threshold
result: {
outcome: { Complete: { refTime: '166,944,000', proofSize: 0 }}
}
result: { outcome: { Complete: { refTime: '166,944,000', proofSize: 0 }}}
- name: Get the balances of the Assets Parachain's sender & Relay Chain's receiver
actions:
@@ -97,7 +95,7 @@ tests:
events:
- name: polkadotXcm.Attempted
threshold: *weight_threshold
result: [{ Complete: { refTime: '533,283,000', proofSize: '7,096' }}]
result: { outcome: { Complete: { refTime: '533,283,000', proofSize: '7,096' }}}
- name: messageQueue.Processed
chain: *relay_chain
threshold: *weight_threshold
@@ -193,4 +191,4 @@ tests:
]
events:
- name: polkadotXcm.Attempted
result: [{ Error: Barrier }]
result: { outcome: { Error: Barrier }}
@@ -101,9 +101,7 @@ tests:
- name: dmpQueue.ExecutedDownward
chain: *assets_parachain
threshold: *weight_threshold
result: {
outcome: { Complete: { refTime: '1,216,703,000', proofSize: '20,000' }}
}
result: { outcome: { Complete: { refTime: '1,216,703,000', proofSize: '20,000' }}}
- queries:
forced_created_asset:
chain: *assets_parachain
@@ -182,7 +180,7 @@ tests:
events:
- name: polkadotXcm.Attempted
threshold: *weight_threshold
result: [{ Complete: { refTime: '673,627,000', proofSize: '6,196' }}]
result: { outcome: { Complete: { refTime: '673,627,000', proofSize: '6,196' }}}
- name: assets.Transferred
result: {
assetId: *asset_id,
@@ -225,7 +223,7 @@ tests:
events:
- name: polkadotXcm.Attempted
threshold: *weight_threshold
result: [{ Complete: { refTime: '679,150,000', proofSize: '6,196' }}]
result: { outcome: { Complete: { refTime: '679,150,000', proofSize: '6,196' }}}
- name: balances.Endowed
result: {
account: *pp_sovereign_sibl,