fix: redirect issues in documentation links (#14032)

This commit is contained in:
polytur
2025-01-28 12:16:50 +01:00
committed by GitHub
parent e11e1f30fa
commit cc5493f6b4

View File

@ -1,6 +1,6 @@
//! Additional `eth_` RPC API for bundles. //! Additional `eth_` RPC API for bundles.
//! //!
//! See also <https://docs.flashbots.net/flashbots-auction/searchers/advanced/rpc-endpoint> //! See also <https://docs.flashbots.net/flashbots-auction/advanced/rpc-endpoint>
use alloy_primitives::{Bytes, B256}; use alloy_primitives::{Bytes, B256};
use alloy_rpc_types_mev::{ use alloy_rpc_types_mev::{
@ -24,7 +24,7 @@ pub trait EthCallBundleApi {
/// The __full__ Eth bundle rpc interface. /// The __full__ Eth bundle rpc interface.
/// ///
/// See also <https://docs.flashbots.net/flashbots-auction/searchers/advanced/rpc-endpoint> /// See also <https://docs.flashbots.net/flashbots-auction/advanced/rpc-endpoint>
#[cfg_attr(not(feature = "client"), rpc(server, namespace = "eth"))] #[cfg_attr(not(feature = "client"), rpc(server, namespace = "eth"))]
#[cfg_attr(feature = "client", rpc(server, client, namespace = "eth"))] #[cfg_attr(feature = "client", rpc(server, client, namespace = "eth"))]
pub trait EthBundleApi { pub trait EthBundleApi {
@ -41,7 +41,7 @@ pub trait EthBundleApi {
request: EthCallBundle, request: EthCallBundle,
) -> jsonrpsee::core::RpcResult<EthCallBundleResponse>; ) -> jsonrpsee::core::RpcResult<EthCallBundleResponse>;
/// `eth_cancelBundle` is used to prevent a submitted bundle from being included on-chain. See [bundle cancellations](https://docs.flashbots.net/flashbots-auction/searchers/advanced/bundle-cancellations) for more information. /// `eth_cancelBundle` is used to prevent a submitted bundle from being included on-chain. See [bundle cancellations](https://docs.flashbots.net/flashbots-auction/advanced/bundle-cancellations) for more information.
#[method(name = "cancelBundle")] #[method(name = "cancelBundle")]
async fn cancel_bundle(&self, request: CancelBundleRequest) -> jsonrpsee::core::RpcResult<()>; async fn cancel_bundle(&self, request: CancelBundleRequest) -> jsonrpsee::core::RpcResult<()>;