From 1a978cf345362f8236f7d7b3040d90ea5193e111 Mon Sep 17 00:00:00 2001 From: Ammar Arif Date: Wed, 18 Dec 2024 11:37:32 -0500 Subject: [PATCH] feat(katana-rpc-types): untagged enum (#2820) make merkle node untagged --- crates/katana/rpc/rpc-types/src/trie.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/katana/rpc/rpc-types/src/trie.rs b/crates/katana/rpc/rpc-types/src/trie.rs index 865be07431..1a7ea2d3cd 100644 --- a/crates/katana/rpc/rpc-types/src/trie.rs +++ b/crates/katana/rpc/rpc-types/src/trie.rs @@ -25,6 +25,7 @@ pub struct GlobalRoots { /// Node in the Merkle-Patricia trie. #[derive(Debug, Serialize, Deserialize)] +#[serde(untagged)] pub enum MerkleNode { /// Represents a path to the highest non-zero descendant node. Edge {