mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-09 20:11:09 +00:00
sc-transcation-pool refactor (#9228)
* Use TransactionPool trait * sc-transaction-pool-primitives * sc-transaction-pool-api * TP * bye sc_transaction_graph * fix line widths * fix import errors * fix import errors * fix import errors 🤦🏾♂️ * fix import errors 🤦🏾♂️🤦🏾♂️🤦🏾♂️ * remove sp-keyring
This commit is contained in:
@@ -26,7 +26,7 @@ sc-client-api = { version = "3.0.0", path = "../api" }
|
||||
sp-consensus = { version = "0.9.0", path = "../../primitives/consensus/common" }
|
||||
sp-inherents = { version = "3.0.0", path = "../../primitives/inherents" }
|
||||
sc-telemetry = { version = "3.0.0", path = "../telemetry" }
|
||||
sp-transaction-pool = { version = "3.0.0", path = "../../primitives/transaction-pool" }
|
||||
sc-transaction-pool-api = { version = "3.0.0", path = "../../client/transaction-pool/api" }
|
||||
sc-block-builder = { version = "0.9.0", path = "../block-builder" }
|
||||
sc-proposer-metrics = { version = "0.9.0", path = "../proposer-metrics" }
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ use sp_runtime::{
|
||||
generic::BlockId,
|
||||
traits::{Block as BlockT, Hash as HashT, Header as HeaderT, DigestFor, BlakeTwo256},
|
||||
};
|
||||
use sp_transaction_pool::{TransactionPool, InPoolTransaction};
|
||||
use sc_transaction_pool_api::{TransactionPool, InPoolTransaction};
|
||||
use sc_telemetry::{telemetry, TelemetryHandle, CONSENSUS_INFO};
|
||||
use sc_block_builder::{BlockBuilderApi, BlockBuilderProvider};
|
||||
use sp_api::{ProvideRuntimeApi, ApiExt};
|
||||
@@ -472,7 +472,7 @@ mod tests {
|
||||
use substrate_test_runtime_client::{
|
||||
prelude::*, TestClientBuilder, runtime::{Extrinsic, Transfer}, TestClientBuilderExt,
|
||||
};
|
||||
use sp_transaction_pool::{ChainEvent, MaintainedTransactionPool, TransactionSource};
|
||||
use sc_transaction_pool_api::{ChainEvent, MaintainedTransactionPool, TransactionSource};
|
||||
use sc_transaction_pool::BasicPool;
|
||||
use sp_api::Core;
|
||||
use sp_blockchain::HeaderBackend;
|
||||
|
||||
Reference in New Issue
Block a user