feat(trie): expose multiproof via StateProofProvider (#10915)

This commit is contained in:
Roman Krasiuk
2024-09-16 11:52:15 +02:00
committed by GitHub
parent fdd64972b9
commit 06dbd3a610
15 changed files with 173 additions and 31 deletions

View File

@ -13,6 +13,8 @@ use serde::{Deserialize, Serialize};
use std::collections::{BTreeMap, HashMap};
/// The state multiproof of target accounts and multiproofs of their storage tries.
/// Multiproof is effectively a state subtrie that only contains the nodes
/// in the paths of target accounts.
#[derive(Clone, Default, Debug)]
pub struct MultiProof {
/// State trie multiproof for requested accounts.