TrieError
31 14 variantsErrors from Merkle trie proof verification
Nested inside DispatchError variant Trie. When a DispatchError is this variant, the nested value is one of the variants below.
Variants
| Index | Name | Description |
|---|---|---|
| 0 | InvalidStateRoot | The stated trie root is not in the DB |
| 1 | IncompleteDatabase | A trie node was not found in the database |
| 2 | ValueAtIncompleteKey | A value was found where a branch node was expected |
| 3 | DecoderError | A trie node could not be decoded |
| 4 | InvalidHash | A hash did not match the expected value |
| 5 | DuplicateKey | A duplicate key was found in the proof |
| 6 | ExtraneousNode | An extraneous node was found in the proof |
| 7 | ExtraneousValue | An extraneous value was found in the proof |
| 8 | ExtraneousHashReference | An extraneous hash reference was found in the proof |
| 9 | InvalidChildReference | An invalid child reference was found in the proof |
| 10 | ValueMismatch | The value in the proof does not match the expected value |
| 11 | IncompleteProof | The proof is incomplete — not all required nodes are present |
| 12 | RootMismatch | The computed root does not match the expected root |
| 13 | DecodeError | Failed to decode a trie node or value |
Type Information
- Type ID
- 31
- Path
- sp_runtime::proving_trie::TrieError
- Variant Count
- 14
- Runtime
- v393