Name | Lookup | Parameters | |
|---|---|---|---|
| note_preimage | 0a00 | 1 | |
| unnote_preimage | 0a01 | 1 | |
| request_preimage | 0a02 | 1 | |
| unrequest_preimage | 0a03 | 1 | |
| ensure_updated | 0a04 | 1 |
Name | Type | |
|---|---|---|
| StatusFor | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"pallet_preimage:OldRequestStatus","keys_id":13,"value_id":534}} | |
| RequestStatusFor | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"pallet_preimage:RequestStatus","keys_id":13,"value_id":536}} | |
| PreimageFor | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["Tuple:H256U32"],"value":"Vec<U8>","keys_id":540,"value_id":541}} |
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). |