mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 15:41:02 +00:00
0881cebe44
Co-authored-by: parity-processbot <>
35 lines
1.2 KiB
YAML
35 lines
1.2 KiB
YAML
---
|
|
settings:
|
|
chains:
|
|
relay_chain: &relay_chain
|
|
wsPort: 9700
|
|
collectives_parachain: &collectives_parachain
|
|
wsPort: 9710
|
|
paraId: &cp_id 1001
|
|
variables:
|
|
accounts:
|
|
liam_signer: &acc_liam_signer //Liam
|
|
liam_account32: &acc_liam_acc32 "0x3614671a5de540d891eb8c4939c8153a4aa790602b347c18177b86d0fc546221"
|
|
|
|
tests:
|
|
- name: Liam fails to join an the Alliance, Liam is already a member.
|
|
its:
|
|
- name: Alice joins alliance
|
|
actions:
|
|
- extrinsics: # Relay Chain sets supported version for Asset Parachain
|
|
- chain: *collectives_parachain
|
|
signer: *acc_liam_signer
|
|
pallet: alliance
|
|
call: joinAlliance
|
|
args: []
|
|
events:
|
|
- name: system.ExtrinsicFailed
|
|
attributes:
|
|
- type: SpRuntimeDispatchError
|
|
key: dispatchError
|
|
# TODO assert with Alliance Error variant - alliance.AllianceNotYetInitialized
|
|
# issue - https://github.com/paritytech/parachains-integration-tests/issues/59
|
|
value: {"Module":{"index":"50","error":"0x02000000"}}
|
|
|
|
|