Skip to content

Commit

Permalink
feat(katana-rpc-types): untagged enum (#2820)
Browse files Browse the repository at this point in the history
make merkle node untagged
  • Loading branch information
kariy committed Dec 18, 2024
1 parent e91f574 commit 1a978cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/katana/rpc/rpc-types/src/trie.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1a978cf

Please sign in to comment.