Name | Lookup | Parameters | |
---|---|---|---|
note_preimage | 3e00 | 1 | |
unnote_preimage | 3e01 | 1 | |
request_preimage | 3e02 | 1 | |
unrequest_preimage | 3e03 | 1 | |
ensure_updated | 3e04 | 1 |
Name | Type | |
---|---|---|
StatusFor | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"pallet_preimage:OldRequestStatus","keys_id":12,"value_id":535}} | |
RequestStatusFor | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"pallet_preimage:RequestStatus","keys_id":12,"value_id":538}} | |
PreimageFor | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256","U32"],"value":"Vec<U8>","keys_id":542,"value_id":543}} |
Name | Docs |
---|---|
TooBig | Preimage is too large to store on-chain. |
AlreadyNoted | Preimage has already been noted on-chain. |
NotAuthorized | The user is not authorized to perform this action. |
NotNoted | The preimage cannot be removed since it has not yet been noted. |
Requested | A preimage may not be removed when there are outstanding requests. |
NotRequested | The preimage request cannot be removed since no outstanding requests exist. |
TooMany | More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once. |
TooFew | Too few hashes were requested to be upgraded (i.e. zero). |