Skip to content

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianGCalderon committed Oct 23, 2024
1 parent 4d344ec commit 307d1c9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions rpc-state-reader/src/objects.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<RpcCallInfo>,
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 307d1c9

Please sign in to comment.