Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

backport: update integration tests #1695

Merged
merged 2 commits into from
Sep 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions parachains/integration-tests/statemine/xcm/1_dmp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ tests:
attribute:
type: XcmV2TraitsOutcome
isComplete: true
value: 4,000,000,000
threshold: [10, 10]
value: 1,021,973,000
- queries:
balance_rc_sender_after:
chain: *relay_chain
Expand Down Expand Up @@ -148,7 +149,8 @@ tests:
attribute:
type: XcmV2TraitsOutcome
isComplete: true
value: 2,000,000,000
threshold: [10, 10]
value: 1,021,258,000
- queries:
forced_created_asset:
chain: *assets_parachain
Expand Down Expand Up @@ -210,13 +212,14 @@ tests:
attribute:
type: XcmV2TraitsOutcome
isComplete: true
threshold: [10, 10]
value: 750,645,000
- name: dmpQueue.ExecutedDownward
chain: *assets_parachain
attribute:
type: XcmV2TraitsOutcome
isIncomplete: true
value: ['1,000,000,000' , UntrustedReserveLocation]
isError: true
value: "WeightNotComputable"
- queries:
balance_rc_sender_after:
chain: *relay_chain
Expand Down
7 changes: 5 additions & 2 deletions parachains/integration-tests/statemine/xcm/2_ump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ tests:
attribute:
type: XcmV2TraitsOutcome
isComplete: true
value: 4,000,000,000
threshold: [10, 10]
value: 1,021,973,000

- name: Get the balances of the Assets Parachain's sender & Relay Chain's receiver
actions:
Expand Down Expand Up @@ -97,12 +98,14 @@ tests:
attribute:
type: XcmV2TraitsOutcome
isComplete: true
value: 2,000,000,000
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
- queries:
balance_ap_sender_after:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ tests:
attribute:
type: XcmV2TraitsOutcome
isComplete: true
threshold: [10, 10]
value: 1,160,892,000
- name: hrmp.OpenChannelRequested
chain: *relay_chain
Expand Down Expand Up @@ -259,14 +260,16 @@ tests:
attribute:
type: XcmV2TraitsOutcome
isComplete: true
value: 2,000,000,000
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
- name: hrmp.OpenChannelAccepted
timeout: 40000
Expand Down Expand Up @@ -324,14 +327,16 @@ tests:
attribute:
type: XcmV2TraitsOutcome
isComplete: true
value: 2,000,000,000
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
- name: hrmp.OpenChannelRequested
timeout: 40000
Expand Down Expand Up @@ -397,6 +402,7 @@ tests:
attribute:
type: XcmV2TraitsOutcome
isComplete: true
threshold: [10, 10]
value: 1,160,892,000
- name: hrmp.OpenChannelAccepted
chain: *relay_chain
9 changes: 6 additions & 3 deletions parachains/integration-tests/statemine/xcm/4_hrmp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ tests:
attribute:
type: XcmV2TraitsOutcome
isComplete: true
value: 2,000,000,000
threshold: [10, 10]
value: 1,021,258,000
- queries:
forced_created_asset:
chain: *assets_parachain
Expand Down Expand Up @@ -168,7 +169,8 @@ tests:
attribute:
type: XcmV2TraitsOutcome
isComplete: true
value: 1,000,000,000
threshold: [10, 10]
value: 654,608,000
- name: assets.Transferred
attribute:
type: AccountId32
Expand Down Expand Up @@ -215,7 +217,8 @@ tests:
attribute:
type: XcmV2TraitsOutcome
isComplete: true
value: 1,000,000,000
threshold: [10, 10]
value: 654,608,000
- name: balances.Endowed
attribute:
type: AccountId32
Expand Down
10 changes: 6 additions & 4 deletions parachains/integration-tests/statemint/xcm/1_dmp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ tests:
attribute:
type: XcmV2TraitsOutcome
isComplete: true
value: 4,000,000,000
threshold: [10, 10]
value: 1,021,635,000
- queries:
balance_rc_sender_after:
chain: *relay_chain
Expand Down Expand Up @@ -148,7 +149,8 @@ tests:
attribute:
type: XcmV2TraitsOutcome
isComplete: true
value: 2,000,000,000
threshold: [10, 10]
value: 1,020,807,000
- queries:
forced_created_asset:
chain: *assets_parachain
Expand Down Expand Up @@ -215,8 +217,8 @@ tests:
chain: *assets_parachain
attribute:
type: XcmV2TraitsOutcome
isIncomplete: true
value: ['1,000,000,000' , UntrustedReserveLocation]
isError: true
value: "WeightNotComputable"
- queries:
balance_rc_sender_after:
chain: *relay_chain
Expand Down
6 changes: 4 additions & 2 deletions parachains/integration-tests/statemint/xcm/2_ump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ tests:
attribute:
type: XcmV2TraitsOutcome
isComplete: true
value: 4,000,000,000
threshold: [10, 10]
value: 1,021,635,000

- name: Get the balances of the Assets Parachain's sender & Relay Chain's receiver
actions:
Expand Down Expand Up @@ -98,7 +99,8 @@ tests:
attribute:
type: XcmV2TraitsOutcome
isComplete: true
value: 2,000,000,000
threshold: [10, 10]
value: 358,878,000
- name: ump.ExecutedUpward
chain: *relay_chain
attribute:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,8 @@ tests:
attribute:
type: XcmV2TraitsOutcome
isComplete: true
value: 2,000,000,000
threshold: [10, 10]
value: 1,020,807,000
- name: polkadotXcm.Sent
chain: *assets_parachain
- name: ump.ExecutedUpward
Expand Down Expand Up @@ -322,7 +323,8 @@ tests:
attribute:
type: XcmV2TraitsOutcome
isComplete: true
value: 2,000,000,000
threshold: [10, 10]
value: 1,020,807,000
- name: polkadotXcm.Sent
chain: *assets_parachain
- name: ump.ExecutedUpward
Expand Down
9 changes: 6 additions & 3 deletions parachains/integration-tests/statemint/xcm/4_hrmp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ tests:
attribute:
type: XcmV2TraitsOutcome
isComplete: true
value: 2,000,000,000
threshold: [10, 10]
value: 1,020,807,000
- queries:
forced_created_asset:
chain: *assets_parachain
Expand Down Expand Up @@ -167,7 +168,8 @@ tests:
attribute:
type: XcmV2TraitsOutcome
isComplete: true
value: 1,000,000,000
threshold: [10, 10]
value: 654,404,000
- name: assets.Transferred
attribute:
type: AccountId32
Expand Down Expand Up @@ -214,7 +216,8 @@ tests:
attribute:
type: XcmV2TraitsOutcome
isComplete: true
value: 1,000,000,000
threshold: [10, 10]
value: 654,404,000
- name: balances.Endowed
attribute:
type: AccountId32
Expand Down