referrerpolicy=no-referrer-when-downgrade

Function polkadot_runtime_common::claims::pallet::dispatchables::attest

source ·
pub fn attest<T: Config>(statement: Vec<u8>)
Expand description

Attest to a statement, needed to finalize the claims process.

WARNING: Insecure unless your chain includes PrevalidateAttests as a TransactionExtension.

Unsigned Validation: A call to attest is deemed valid if the sender has a Preclaim registered and provides a statement which is expected for the account.

Parameters:

  • statement: The identity of the statement which is being attested to in the signature.
The weight of this call is invariant over the input parameters. Weight includes logic to do pre-validation on `attest` call.

Total Complexity: O(1)

§Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::attest.