diff --git a/crates/katana/rpc/rpc-types/src/trie.rs b/crates/katana/rpc/rpc-types/src/trie.rs index 5fab51bc57..00d310efb6 100644 --- a/crates/katana/rpc/rpc-types/src/trie.rs +++ b/crates/katana/rpc/rpc-types/src/trie.rs @@ -77,6 +77,7 @@ pub struct GetStorageProofResponse { } #[derive(Debug, Default, Serialize, Deserialize)] +#[serde(transparent)] pub struct ClassesProof { pub nodes: Nodes, } @@ -101,9 +102,11 @@ pub struct ContractLeafData { } #[derive(Debug, Default, Serialize, Deserialize)] +#[serde(transparent)] pub struct ContractStorageProofs { pub nodes: Vec, } + #[derive(Debug, Serialize, Deserialize)] pub struct NodeWithHash { pub node_hash: Felt,