Expand description
Custom subxt configuration for runtimes interacting with statement-store, used only for tests
The runtime uses VerifyMultiSignature instead of the standard
VerifySignature transaction extension, and includes a RestrictOrigins
extension that encodes as a bool (false = 0x00 to disable origin
restrictions). These non-standard extensions cannot be auto-defaulted by
frame-decode, so this module provides a CustomConfig that handles them
explicitly.
Structs§
- Custom
Config - Custom subxt
Config - Restrict
Origins - Custom transaction extension for
RestrictOrigins - Verify
Multi Signature - Wrapper around
VerifySignaturethat matches the runtime’sVerifyMultiSignaturename
Constants§
- MSG_
PREFIX - Matches
indiv_pallet_people_lite::MSG_PREFIX
Functions§
- create_
attest_ call - Builds a
PeopleLite::attestcall - create_
consumer_ registration_ params - Builds consumer registration parameters for
create_attest_call - create_
increase_ allowance_ call - Builds a sudo call wrapping
PeopleLite::increase_attestation_allowance - get_
account_ nonce - Gets the current nonce for an account
- set_
allowances_ via_ sudo - Sets statement allowances at runtime via a sudo extrinsic signed by Alice
- submit_
extrinsic - Submits an extrinsic with an explicit nonce and waits for it to be finalized