referrerpolicy=no-referrer-when-downgrade

Module subxt_client

Module subxt_client 

Source
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§

CustomConfig
Custom subxt Config
RestrictOrigins
Custom transaction extension for RestrictOrigins
VerifyMultiSignature
Wrapper around VerifySignature that matches the runtime’s VerifyMultiSignature name

Constants§

MSG_PREFIX
Matches indiv_pallet_people_lite::MSG_PREFIX

Functions§

create_attest_call
Builds a PeopleLite::attest call
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