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
@@ -51,7 +51,7 @@ tests:
- name: sudo.Sudid
result: { sudoResult: Ok }
- name: xcmPallet.SupportedVersionChanged
result: [{ parents: 0, interior: { X1: { Parachain: *cp_id }}}, *xcm_version ]
result: { location: { parents: 0, interior: { X1: { Parachain: *cp_id }}}, version: *xcm_version }
- extrinsics: # Collectives Parachain sets supported version for Relay Chain through it
- chain: *relay_chain
signer: *alice_signer
@@ -92,9 +92,7 @@ tests:
- name: dmpQueue.ExecutedDownward
chain: *collectives_parachain
threshold: *weight_threshold
result: {
outcome: { Complete: { refTime: '2,200,000,000', proofSize: 0 }}
}
result: { outcome: { Complete: { refTime: '2,200,000,000', proofSize: 0 }}}
- name: polkadotXcm.SupportedVersionChanged
chain: *collectives_parachain
result: [{ parents: 1, interior: Here }, *xcm_version ]
result: { location: { parents: 1, interior: Here }, version: *xcm_version }
@@ -61,13 +61,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: *collectives_parachain
threshold: *weight_threshold
result: {
outcome: { Complete: { refTime: '4,000,000,000', proofSize: 0 }}
}
result: { outcome: { Complete: { refTime: '4,000,000,000', proofSize: 0 }}}
- queries:
balance_rc_alice_2:
chain: *relay_chain
@@ -126,7 +124,7 @@ tests:
result: { who: *acc_alice_ss58, amount: 10000000000000 }
- name: polkadotXcm.Attempted
threshold: *weight_threshold
result: [{ Complete: { refTime: '3,000,000,000', proofSize: 0 }}]
result: { outcome: { Complete: { refTime: '3,000,000,000', proofSize: 0 }}}
- name: balances.Withdraw
chain: *relay_chain
result: { who: *checking_account, amount: 10000000000000 } # amount received and withdrawn from registry account
@@ -39,7 +39,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: *collectives_parachain
threshold: *weight_threshold
@@ -109,9 +109,7 @@ tests:
- name: dmpQueue.ExecutedDownward
chain: *collectives_parachain
threshold: *weight_threshold
result: {
outcome: { Complete: { refTime: '3,000,000,000', proofSize: '1,000,000' }}
}
result: { outcome: { Complete: { refTime: '3,000,000,000', proofSize: '1,000,000' }}}
- name: Alliance init call fails.
actions:
@@ -159,9 +157,7 @@ tests:
- name: dmpQueue.ExecutedDownward
chain: *collectives_parachain
threshold: *weight_threshold
result: {
outcome: { Complete: { refTime: '3,000,000,000', proofSize: '1,000,000' }}
}
result: { outcome: { Complete: { refTime: '3,000,000,000', proofSize: '1,000,000' }}}
- name: Alliance disbanded and initialized again.
actions:
@@ -208,9 +204,7 @@ tests:
- name: dmpQueue.ExecutedDownward
chain: *collectives_parachain
threshold: *weight_threshold
result: {
outcome: { Complete: { refTime: '3,321,495,872', proofSize: '181,779' }}
}
result: { outcome: { Complete: { refTime: '3,321,495,872', proofSize: '181,779' }}}
- name: Alliance initiated, founders and fellows are set.
actions:
- extrinsics:
@@ -255,6 +249,4 @@ tests:
- name: dmpQueue.ExecutedDownward
chain: *collectives_parachain
threshold: *weight_threshold
result: {
outcome: { Complete: { refTime: '3,000,000,000', proofSize: '1,000,000' }}
}
result: { outcome: { Complete: { refTime: '3,000,000,000', proofSize: '1,000,000' }}}