refactor: replace OP error variant with general purpose error (#7844)

Co-authored-by: Oliver Nordbjerg <onbjerg@users.noreply.github.com>
This commit is contained in:
Darshan Kathiriya
2024-04-24 14:19:33 -04:00
committed by GitHub
parent 1f84c27c35
commit 784d8dc597
8 changed files with 31 additions and 27 deletions

View File

@@ -3,9 +3,10 @@
use jsonrpsee::types::ErrorObject;
use reqwest::Client;
use reth_rpc::eth::{
error::{EthApiError, EthResult, ToRpcError},
error::{EthApiError, EthResult},
traits::RawTransactionForwarder,
};
use reth_rpc_types::ToRpcError;
use std::sync::{atomic::AtomicUsize, Arc};
/// Error type when interacting with the Sequencer