We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c74b05b commit bc8d030Copy full SHA for bc8d030
crates/katana/storage/provider/src/traits/trie.rs
@@ -7,6 +7,13 @@ use katana_primitives::Felt;
7
8
use crate::ProviderResult;
9
10
+#[auto_impl::auto_impl(&, Box, Arc)]
11
+pub trait ClassTrieProvider: Send + Sync {
12
+ fn proofs(&self, block_number: BlockNumber, class_hashes: Vec<ClassHash>);
13
+
14
+ fn root(&self);
15
+}
16
17
#[auto_impl::auto_impl(&, Box, Arc)]
18
pub trait ClassTrieWriter: Send + Sync {
19
fn insert_updates(
crates/katana/trie/Cargo.toml
@@ -20,4 +20,4 @@ thiserror.workspace = true
20
default-features = false
21
features = [ "std" ]
22
git = "https://github.com/madara-alliance/bonsai-trie/"
23
-rev = "56d7d62"
+rev = "a74f1ae"
0 commit comments