Name | Lookup | Parameters | |
---|---|---|---|
attest_block | 6801 | 2 | |
mark_block_forwarded | 6802 | 1 |
Name | Lookup | Attributes | |
---|---|---|---|
BlockAttested | 6800 | ["BlockNumber","Attestation<Hash>","AccountId"] |
Name | Type | |
---|---|---|
AttestationKeys | {"origin":"PlainType","plain_type":"Vec<Tuple:AccountIdsxt_core:attestation:AttestationKey>","PlainTypeValue":420} | |
Attestations | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U32"],"value":"Vec<sxt_core:attestation:Attestation>","keys_id":4,"value_id":424}} | |
LastForwardedBlock | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} |
Name | Docs |
---|---|
VerificationError | Error verifying ownership of an external address. |
MaxAttestationKeys | Maximum number of attestation keys reached. |
PublicKeyAlreadyRegistered | The public key is already registered. |
AccountIdAlreadyLinked | The account ID is already linked to another key. |
InsufficientPermissions | Insufficient permissions to perform the operation. |
AttestationSignatureError | Error verifying the attestation signature. |
MaxAttestationsForBlockError | Maximum attestations for the block have been recorded. |
AttestationAlreadyRecordedError | Attestation already exists for the given block and key. |
CannotAttestFutureBlock | Cannot attest to a block that has not occurred yet. |
CannotAttestCurrentBlock | Cannot attest to the current (non-finalized) block. |
KeyNotFound | Cannot remove a key that is not registered |