mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 19:47:59 +00:00
relay-chain-interface: Do not depend on polkadot-service (#2287)
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
use std::{collections::BTreeMap, pin::Pin, sync::Arc};
|
||||
|
||||
use polkadot_overseer::prometheus::PrometheusError;
|
||||
use polkadot_service::SubstrateServiceError;
|
||||
use sc_client_api::StorageProof;
|
||||
|
||||
use futures::Stream;
|
||||
@@ -61,10 +60,8 @@ pub enum RelayChainError {
|
||||
WorkerCommunicationError(String),
|
||||
#[error("Scale codec deserialization error: {0}")]
|
||||
DeserializationError(CodecError),
|
||||
#[error("Polkadot service error: {0}")]
|
||||
ServiceError(#[from] polkadot_service::Error),
|
||||
#[error("Substrate service error: {0}")]
|
||||
SubServiceError(#[from] SubstrateServiceError),
|
||||
#[error(transparent)]
|
||||
Application(#[from] Box<dyn std::error::Error + Send + Sync + 'static>),
|
||||
#[error("Prometheus error: {0}")]
|
||||
PrometheusError(#[from] PrometheusError),
|
||||
#[error("Unspecified error occured: {0}")]
|
||||
|
||||
Reference in New Issue
Block a user