diff --git a/crates/starknet-types-rpc/src/custom/block_id.rs b/crates/starknet-types-rpc/src/custom/block_id.rs index 632fc11..e5b92eb 100644 --- a/crates/starknet-types-rpc/src/custom/block_id.rs +++ b/crates/starknet-types-rpc/src/custom/block_id.rs @@ -43,7 +43,9 @@ impl serde::Serialize for BlockId { helper.serialize(serializer) } BlockId::Number(block_number) => { - let helper = BlockNumberHelper { block_number: *block_number }; + let helper = BlockNumberHelper { + block_number: *block_number, + }; helper.serialize(serializer) } } diff --git a/crates/starknet-types-rpc/src/custom/query.rs b/crates/starknet-types-rpc/src/custom/query.rs index af8ef11..a96e2de 100644 --- a/crates/starknet-types-rpc/src/custom/query.rs +++ b/crates/starknet-types-rpc/src/custom/query.rs @@ -3,8 +3,10 @@ use serde::{Deserialize, Serialize}; -use crate::{BroadcastedDeclareTxnV1, BroadcastedDeclareTxnV2, BroadcastedDeclareTxnV3, - DeployAccountTxnV1, DeployAccountTxnV3, InvokeTxnV0, InvokeTxnV1, InvokeTxnV3}; +use crate::{ + BroadcastedDeclareTxnV1, BroadcastedDeclareTxnV2, BroadcastedDeclareTxnV3, DeployAccountTxnV1, + DeployAccountTxnV3, InvokeTxnV0, InvokeTxnV1, InvokeTxnV3, +}; #[derive(Clone, Debug, Eq, Hash, PartialEq, Serialize, Deserialize)] #[serde(tag = "version")] diff --git a/crates/starknet-types-rpc/src/custom/syncing_status.rs b/crates/starknet-types-rpc/src/custom/syncing_status.rs index ff94dbe..d81b57f 100644 --- a/crates/starknet-types-rpc/src/custom/syncing_status.rs +++ b/crates/starknet-types-rpc/src/custom/syncing_status.rs @@ -82,7 +82,7 @@ fn syncing_status_from_false() { #[cfg(test)] #[test] fn syncing_status_to_false() { - pub use starknet_types_core::felt::Felt; + pub use starknet_types_core::felt::Felt; let syncing_status = SyncingStatus::::NotSyncing; let s = serde_json::to_string(&syncing_status).unwrap();