TrieError

31 14 variants

Errors 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

IndexNameDescription
0InvalidStateRootThe stated trie root is not in the DB
1IncompleteDatabaseA trie node was not found in the database
2ValueAtIncompleteKeyA value was found where a branch node was expected
3DecoderErrorA trie node could not be decoded
4InvalidHashA hash did not match the expected value
5DuplicateKeyA duplicate key was found in the proof
6ExtraneousNodeAn extraneous node was found in the proof
7ExtraneousValueAn extraneous value was found in the proof
8ExtraneousHashReferenceAn extraneous hash reference was found in the proof
9InvalidChildReferenceAn invalid child reference was found in the proof
10ValueMismatchThe value in the proof does not match the expected value
11IncompleteProofThe proof is incomplete — not all required nodes are present
12RootMismatchThe computed root does not match the expected root
13DecodeErrorFailed to decode a trie node or value

Type Information

Type ID
31
Path
sp_runtime::proving_trie::TrieError
Variant Count
14
Runtime
v393