MCPcopy Create free account
hub / github.com/base/base / test_decode_leaf_or_extension_empty_path_errors

Function test_decode_leaf_or_extension_empty_path_errors

crates/proof/mpt/src/node.rs:716–720  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

714
715 #[test]
716 fn test_decode_leaf_or_extension_empty_path_errors() {
717 const EMPTY_PATH_LEAF_OR_EXTENSION_RLP: [u8; 3] = hex!("c28080");
718
719 assert!(TrieNode::decode(&mut EMPTY_PATH_LEAF_OR_EXTENSION_RLP.as_slice()).is_err());
720 }
721
722 #[test]
723 fn test_retrieve_from_trie_simple() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected