Name | Lookup | Parameters | |
|---|---|---|---|
| note_preimage | 5400 | 1 | |
| unnote_preimage | 5401 | 1 | |
| request_preimage | 5402 | 1 | |
| unrequest_preimage | 5403 | 1 | |
| ensure_updated | 5404 | 1 |
Name | Type | |
|---|---|---|
| StatusFor | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"pallet_preimage:OldRequestStatus","keys_id":12,"value_id":566}} | |
| RequestStatusFor | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"pallet_preimage:RequestStatus","keys_id":12,"value_id":569}} | |
| PreimageFor | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["Tuple:H256U32"],"value":"Vec<U8>","keys_id":573,"value_id":574}} |
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). |