Open shawntabrizi opened 1 week ago
This is a refactor and improvement from: https://github.com/paritytech/polkadot-sdk/pull/3881
sp_runtime::proving_trie
BasicProvingTrie
base2
base16
ProvingTrie
ProofToHashes
This is a refactor and improvement from: https://github.com/paritytech/polkadot-sdk/pull/3881
sp_runtime::proving_trie
now exposes aBasicProvingTrie
for bothbase2
andbase16
.base16
are more focused on single value proofs, also aligning their APIs with thebase2
trieProvingTrie
trait is included which wraps both thebase2
andbase16
trie, and exposes all APIs needed for an end to end scenario.ProofToHashes
trait is exposed which can allow us to write proper benchmarks for the merkle trie.