Name | Lookup | Parameters | |
|---|---|---|---|
| note_preimage | 2000 | 1 | |
| unnote_preimage | 2001 | 1 | |
| request_preimage | 2002 | 1 | |
| unrequest_preimage | 2003 | 1 | |
| ensure_updated | 2004 | 1 |
Name | Type | |
|---|---|---|
| StatusFor | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"pallet_preimage:OldRequestStatus","keys_id":13,"value_id":747}} | |
| RequestStatusFor | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"pallet_preimage:RequestStatus","keys_id":13,"value_id":749}} | |
| PreimageFor | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["Tuple:H256U32"],"value":"Vec<U8>","keys_id":642,"value_id":753}} |
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). |