Skip to content

Commit

Permalink
Merge branch 'main' into fix/disable-itertools-default-feature
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse committed Dec 22, 2024
2 parents f3cb827 + 0a5e430 commit 497daa1
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
24 changes: 12 additions & 12 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ modular-bitfield = "0.11.2"
notify = { version = "6.1.1", default-features = false, features = [
"macos_fsevent",
] }
nybbles = { version = "0.2.1", default-features = false }
nybbles = { version = "0.3.0", default-features = false }
once_cell = { version = "1.19", default-features = false, features = [
"critical-section",
] }
Expand Down
14 changes: 7 additions & 7 deletions crates/rpc/rpc/src/otterscan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ where
+ TraceExt
+ 'static,
{
/// Handler for `{ots,erigon}_getHeaderByNumber`
/// Handler for `ots_getHeaderByNumber` and `erigon_getHeaderByNumber`
async fn get_header_by_number(
&self,
block_number: u64,
Expand Down Expand Up @@ -185,7 +185,7 @@ where
)
}

/// Handler for `getBlockDetailsByHash`
/// Handler for `ots_getBlockDetailsByHash`
async fn get_block_details_by_hash(
&self,
block_hash: B256,
Expand All @@ -200,7 +200,7 @@ where
)
}

/// Handler for `getBlockTransactions`
/// Handler for `ots_getBlockTransactions`
async fn get_block_transactions(
&self,
block_number: u64,
Expand Down Expand Up @@ -290,7 +290,7 @@ where
Ok(block)
}

/// Handler for `searchTransactionsBefore`
/// Handler for `ots_searchTransactionsBefore`
async fn search_transactions_before(
&self,
_address: Address,
Expand All @@ -300,7 +300,7 @@ where
Err(internal_rpc_err("unimplemented"))
}

/// Handler for `searchTransactionsAfter`
/// Handler for `ots_searchTransactionsAfter`
async fn search_transactions_after(
&self,
_address: Address,
Expand All @@ -310,7 +310,7 @@ where
Err(internal_rpc_err("unimplemented"))
}

/// Handler for `getTransactionBySenderAndNonce`
/// Handler for `ots_getTransactionBySenderAndNonce`
async fn get_transaction_by_sender_and_nonce(
&self,
sender: Address,
Expand All @@ -324,7 +324,7 @@ where
.map(|tx| tx.tx_hash()))
}

/// Handler for `getContractCreator`
/// Handler for `ots_getContractCreator`
async fn get_contract_creator(&self, address: Address) -> RpcResult<Option<ContractCreator>> {
if !self.has_code(address, None).await? {
return Ok(None);
Expand Down

0 comments on commit 497daa1

Please sign in to comment.