@@ -7,13 +7,10 @@ settings:
77 wsPort : 9710
88 paraId : &cp_id 1001
99 variables :
10- weight_threshold : &weight_threshold { refTime: [10, 10], proofSize: [10, 10] }
1110 accounts :
1211 alice_signer : &acc_alice_signer //Alice
1312 alice_account32 : &acc_alice_acc32 '0xd43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27d'
1413 alice_ss58 : &acc_alice_ss58 '15oF4uVJwmo4TdGW7VfQxNLavjCXviqxT9S1MgbjMNHr6Sp5'
15- checking_account : &checking_account '13UVJyLnbVp9x5XDyJv8g8r3UddNwBrdaH7AADCmw9XQWvYW'
16-
1714
1815tests :
1916 - name : Teleport assets from Relay Chain to Collectives Parachain successful.
@@ -42,32 +39,33 @@ tests:
4239 args : [
4340 { v3: { 0, interior: { x1: { parachain: *cp_id }}}}, # destination
4441 { v3: { parents: 0, interior: { x1: { accountId32: { id: *acc_alice_acc32 }}}}}, # beneficiary
45- {
46- v3 : [
47- # {
42+ {
43+ v3 : [
44+ # {
4845 # # TODO use a separate Assets to pay a fee, to receive an exact amount of assets on beneficiary account.
4946 # # a call with two assets fails with an error right now.
50- # id: { concrete: { 0, interior: { here: true }}},
51- # fun: { fungible: 1000000000000 } # 1_000_000_000_000
47+ # id: { concrete: { 0, interior: { here: true }}},
48+ # fun: { fungible: 1000000000000 } # 1_000_000_000_000
5249 # },
53- {
54- id : { concrete: { 0, interior: { here: true }}},
50+ {
51+ id : { concrete: { 0, interior: { here: true }}},
5552 fun : { fungible: 20000000000000 } # 20_000_000_000_000
5653 }
57- ]
54+ ]
5855 }, # assets
5956 0, # feeAssetItem
6057 ]
6158 events :
6259 - name : xcmPallet.Attempted
63- threshold : *weight_threshold
64- result : [{ Complete: { refTime: '3,000,000,000', proofSize: 0 }}]
60+ chain : *relay_chain
61+ attributes :
62+ - type : XcmV3TraitsOutcome
63+ xcmOutcome : Complete
6564 - name : dmpQueue.ExecutedDownward
6665 chain : *collectives_parachain
67- threshold : *weight_threshold
68- result : {
69- outcome : { Complete: { refTime: '4,000,000,000', proofSize: 0 }}
70- }
66+ attributes :
67+ - type : XcmV3TraitsOutcome
68+ xcmOutcome : Complete
7169 - queries :
7270 balance_rc_alice_2 :
7371 chain : *relay_chain
@@ -111,29 +109,41 @@ tests:
111109 args : [
112110 { v3: { parents: 1, interior: { here: true }}}, # destination
113111 { v3: { parents: 0, interior: { x1: { accountId32: { id: *acc_alice_acc32 }}}}}, # beneficiary
114- {
115- v3 : [
116- {
117- id : { concrete: { parents: 1, interior: { here: true }}},
112+ {
113+ v3 : [
114+ {
115+ id : { concrete: { parents: 1, interior: { here: true }}},
118116 fun : { fungible: 10000000000000 } # 10_000_000_000_000
119117 }
120- ]
118+ ]
121119 }, # assets
122120 0, # feeAssetItem
123121 ]
124122 events :
125123 - name : balances.Withdraw
126- result : { who: *acc_alice_ss58, amount: 10000000000000 }
124+ attributes :
125+ - type : AccountId32
126+ key : who
127+ value : *acc_alice_ss58
128+ - type : u128
129+ key : amount
130+ value : 10000000000000
127131 - name : polkadotXcm.Attempted
128- threshold : *weight_threshold
129- result : [{ Complete: { refTime: '3,000,000,000', proofSize: 0 }}]
132+ attributes :
133+ - type : XcmV3TraitsOutcome
134+ xcmOutcome : Complete
130135 - name : balances.Withdraw
131136 chain : *relay_chain
132- result : { who: *checking_account, amount: 10000000000000 } # amount received and withdrawn from registry account
133- - name : ump.ExecutedUpward
137+ attributes :
138+ - type : u128
139+ key : amount
140+ value : 10000000000000 # amount received and withdrawn from registry account
141+ - name : messageQueue.Processed
134142 chain : *relay_chain
135- threshold : *weight_threshold
136- result : [{ Complete: { refTime: '4,000,000,000', proofSize: 0 }}]
143+ attributes :
144+ - type : bool
145+ key : success
146+ value : true
137147 - queries :
138148 balance_rc_alice_3 :
139149 chain : *relay_chain
0 commit comments