diff --git a/rpc-state-reader/src/objects.rs b/rpc-state-reader/src/objects.rs index f60dc4d..e14e239 100644 --- a/rpc-state-reader/src/objects.rs +++ b/rpc-state-reader/src/objects.rs @@ -9,9 +9,6 @@ use starknet_api::{ }; use starknet_gateway::rpc_objects::BlockHeader; -// The following are not used right now -// We are keeping them just in case - #[derive(Debug, Deserialize, Clone, Eq, PartialEq)] pub struct RpcTransactionTrace { pub validate_invocation: Option, @@ -84,6 +81,8 @@ pub struct TransactionWithHash { pub transaction: Transaction, } +/// Some types require their own deserializer, as their ir shape is slightly different +/// from the ones in starknet. This module contains such deserializaction functions. pub mod deser { use std::collections::HashMap;