Skip to content

Commit da930e8

Browse files
wangjingcunrplusq
authored andcommitted
chore: fix 404 status URL (foundry-rs#9417)
Signed-off-by: wangjingcun <[email protected]>
1 parent 473dd32 commit da930e8

File tree

1 file changed

+3
-3
lines changed
  • crates/anvil/src/eth/otterscan

1 file changed

+3
-3
lines changed

crates/anvil/src/eth/otterscan/api.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ pub fn mentions_address(trace: LocalizedTransactionTrace, address: Address) -> O
4646

4747
/// Converts the list of traces for a transaction into the expected Otterscan format.
4848
///
49-
/// Follows format specified in the [`ots_traceTransaction`](https://github.com/otterscan/otterscan/blob/develop/docs/custom-jsonrpc.md#ots_tracetransaction) spec.
49+
/// Follows format specified in the [`ots_traceTransaction`](https://github.com/otterscan/otterscan/blob/main/docs/custom-jsonrpc.md#ots_tracetransaction) spec.
5050
pub fn batch_build_ots_traces(traces: Vec<LocalizedTransactionTrace>) -> Vec<TraceEntry> {
5151
traces
5252
.into_iter()
@@ -350,7 +350,7 @@ impl EthApi {
350350
/// their `gas_used`. This would be extremely inefficient in a real blockchain RPC, but we can
351351
/// get away with that in this context.
352352
///
353-
/// The [original spec](https://github.com/otterscan/otterscan/blob/develop/docs/custom-jsonrpc.md#ots_getblockdetails)
353+
/// The [original spec](https://github.com/otterscan/otterscan/blob/main/docs/custom-jsonrpc.md#ots_getblockdetails)
354354
/// also mentions we can hardcode `transactions` and `logsBloom` to an empty array to save
355355
/// bandwidth, because fields weren't intended to be used in the Otterscan UI at this point.
356356
///
@@ -402,7 +402,7 @@ impl EthApi {
402402
/// Fetches all receipts for the blocks's transactions, as required by the
403403
/// [`ots_getBlockTransactions`] endpoint spec, and returns the final response object.
404404
///
405-
/// [`ots_getBlockTransactions`]: https://github.com/otterscan/otterscan/blob/develop/docs/custom-jsonrpc.md#ots_getblockdetails
405+
/// [`ots_getBlockTransactions`]: https://github.com/otterscan/otterscan/blob/main/docs/custom-jsonrpc.md#ots_getblockdetails
406406
pub async fn build_ots_block_tx(
407407
&self,
408408
mut block: AnyRpcBlock,

0 commit comments

Comments
 (0)