Skip to content

Commit d469ca4

Browse files
authored
fix: doc comments (#70)
1 parent 029b445 commit d469ca4

7 files changed

Lines changed: 9 additions & 5 deletions

File tree

crates/blobber/src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use crate::{DecodeError, FetchError};
22
use alloy::{eips::eip2718::Eip2718Error, primitives::B256};
33
use reth::transaction_pool::BlobStoreError;
44

5-
/// Result using [`BlobFetcherError`] as the default error type.
5+
/// Result using [`BlobberError`] as the default error type.
66
pub type BlobberResult<T, E = BlobberError> = std::result::Result<T, E>;
77

88
/// Blob fetching errors

crates/block-processor/src/alias.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ use alloy::{
33
primitives::{Address, map::HashSet},
44
};
55
use eyre::OptionExt;
6+
#[cfg(doc)]
7+
use reth::providers::StateProvider;
68
use reth::providers::{StateProviderBox, StateProviderFactory};
79
use std::sync::{Arc, Mutex};
810

crates/block-processor/src/utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use reth_chainspec::EthereumHardforks;
22
use trevm::revm::primitives::hardfork::SpecId;
33

4-
/// Equivalent to [`reth_evm_ethereum::revm_spec`], however, always starts at
4+
/// Equivalent to `reth_evm_ethereum::revm_spec`, however, always starts at
55
/// [`SpecId::PRAGUE`] and transitions to [`SpecId::OSAKA`].
66
pub fn revm_spec(chain_spec: &reth::chainspec::ChainSpec, timestamp: u64) -> SpecId {
77
if chain_spec.is_amsterdam_active_at_timestamp(timestamp) {

crates/db/src/traits.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
use crate::{DbExtractionResults, DbSignetEvent, RuChain, SignetDbRw};
22
use alloy::primitives::{B256, BlockNumber};
33
use itertools::Itertools;
4+
#[cfg(doc)]
5+
use reth::providers::DatabaseProviderRW;
46
use reth::providers::{OriginalValuesKnown, ProviderResult};
57
use reth_db::models::StoredBlockBodyIndices;
68
use signet_evm::BlockResult;

crates/node-tests/src/context.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ pub struct SignetTestContext {
7777
/// The alias oracle used by the Signet Node instance.
7878
pub alias_oracle: Arc<Mutex<HashSet<Address>>>,
7979

80-
/// Test addresses, copied from [`signet_types::test_utils::TEST_USERS`] for
80+
/// Test addresses, copied from [`signet_test_utils::users::TEST_USERS`] for
8181
/// convenience
8282
pub addresses: [Address; 10],
8383
}

crates/node-tests/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pub mod constants;
1616

1717
/// Test context.
1818
mod context;
19-
pub use context::SignetTestContext;
19+
pub use context::{BalanceChecks, NonceChecks, SignetTestContext};
2020

2121
/// Bespoke conversion utilities for converting between alloy and reth types.
2222
pub mod convert;

crates/rpc/src/debug/endpoints.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ use tracing::Instrument;
2323
#[derive(Debug, serde::Deserialize)]
2424
pub(super) struct TraceBlockParams<T>(T, #[serde(default)] Option<GethDebugTracingOptions>);
2525

26-
/// Params type for `debug_traceTransaction`.`
26+
/// Params type for `debug_traceTransaction`.
2727
#[derive(Debug, serde::Deserialize)]
2828
pub(super) struct TraceTransactionParams(B256, #[serde(default)] Option<GethDebugTracingOptions>);
2929

0 commit comments

Comments
 (0)