From 7859ee6c21ccc7a4ccb9c1e20545c971c42dafb8 Mon Sep 17 00:00:00 2001 From: Eagle941 <8973725+Eagle941@users.noreply.github.com> Date: Tue, 1 Oct 2024 23:34:15 +0100 Subject: [PATCH] Fixed documentation --- starknet-replay/src/storage/rpc/mod.rs | 8 +++++--- starknet-replay/src/storage/rpc/rpc_client.rs | 6 ++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/starknet-replay/src/storage/rpc/mod.rs b/starknet-replay/src/storage/rpc/mod.rs index 467e3b4..b5ecc3c 100644 --- a/starknet-replay/src/storage/rpc/mod.rs +++ b/starknet-replay/src/storage/rpc/mod.rs @@ -1,7 +1,9 @@ -//! This module uses the Starknet RPC protocol to query the data required to -//! replay transactions from the Starknet blockchain. +//! This module contains the implementation of the [`crate::storage::Storage`] +//! trait to replay transactions using the RPC client interface. -#![allow(clippy::module_name_repetitions)] // Added because of `ClassInfo` +#![allow(clippy::module_name_repetitions)] // Added because of `generate_class_info` in `class_info.rs`, `convert_receipt` + // in `receipt.rs`, `convert_transaction` in `transaction.rs`, + // `VisitedPcsRaw` in `visited_pcs. rs`, `RpcStorage` in `mod.rs` use std::collections::BTreeMap; use std::num::NonZeroU128; diff --git a/starknet-replay/src/storage/rpc/rpc_client.rs b/starknet-replay/src/storage/rpc/rpc_client.rs index 3d4e0cf..4e1d216 100644 --- a/starknet-replay/src/storage/rpc/rpc_client.rs +++ b/starknet-replay/src/storage/rpc/rpc_client.rs @@ -1,7 +1,5 @@ -//! This module uses the Starknet RPC protocol to query the data required to -//! replay transactions from the Starknet blockchain. - -#![allow(clippy::module_name_repetitions)] // Added because of `ClassInfo` +//! This module uses the Starknet RPC protocol to query the data from the +//! Starknet RPC server. use starknet_api::block::{ BlockHash,