Name | Lookup | Parameters | |
|---|---|---|---|
| note_preimage | 2100 | 1 | |
| unnote_preimage | 2101 | 1 | |
| request_preimage | 2102 | 1 | |
| unrequest_preimage | 2103 | 1 | |
| ensure_updated | 2104 | 1 |
Name | Type | |
|---|---|---|
| StatusFor | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"pallet_preimage:OldRequestStatus","keys_id":22,"value_id":449}} | |
| RequestStatusFor | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"pallet_preimage:RequestStatus","keys_id":22,"value_id":451}} | |
| PreimageFor | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["Tuple:H256U32"],"value":"Vec<U8>","keys_id":439,"value_id":455}} |
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). |