From ee26a745aa18243ba5308bb821be195babfd68bf Mon Sep 17 00:00:00 2001 From: Ammar Arif Date: Mon, 6 Jan 2025 16:49:27 -0500 Subject: [PATCH] fix: transparent serde --- crates/katana/rpc/rpc-types/src/trie.rs | 3 +++ 1 file changed, 3 insertions(+) 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,