mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-22 14:55:41 +00:00
graph::ChainApi and graph::Pool reexport (#9726)
* `graph::ChainApi` and `graph::Pool` reexport * Redundant import cleanup
This commit is contained in:
@@ -44,7 +44,7 @@ use futures::{
|
|||||||
future::{self, ready},
|
future::{self, ready},
|
||||||
prelude::*,
|
prelude::*,
|
||||||
};
|
};
|
||||||
pub use graph::{Options, Transaction};
|
pub use graph::{ChainApi, Options, Pool, Transaction};
|
||||||
use parking_lot::Mutex;
|
use parking_lot::Mutex;
|
||||||
use std::{
|
use std::{
|
||||||
collections::{HashMap, HashSet},
|
collections::{HashMap, HashSet},
|
||||||
@@ -451,7 +451,7 @@ where
|
|||||||
at: &BlockId<Self::Block>,
|
at: &BlockId<Self::Block>,
|
||||||
xt: sc_transaction_pool_api::LocalTransactionFor<Self>,
|
xt: sc_transaction_pool_api::LocalTransactionFor<Self>,
|
||||||
) -> Result<Self::Hash, Self::Error> {
|
) -> Result<Self::Hash, Self::Error> {
|
||||||
use graph::{ChainApi, ValidatedTransaction};
|
use graph::ValidatedTransaction;
|
||||||
use sp_runtime::{
|
use sp_runtime::{
|
||||||
traits::SaturatedConversion, transaction_validity::TransactionValidityError,
|
traits::SaturatedConversion, transaction_validity::TransactionValidityError,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user