mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-09 20:11:09 +00:00
Merge txpool-runtime-api with txpool-api (#4320)
* Remove transaction-pool-runtime-api * Merge runtime-api with transaction-pool.
This commit is contained in:
committed by
Bastian Köcher
parent
70db5da6c4
commit
3805393a13
@@ -29,7 +29,7 @@ support = { package = "frame-support", path = "../../../frame/support", default-
|
||||
system = { package = "frame-system", path = "../../../frame/system", default-features = false }
|
||||
timestamp = { package = "pallet-timestamp", path = "../../../frame/timestamp", default-features = false }
|
||||
transaction-payment = { package = "pallet-transaction-payment", path = "../../../frame/transaction-payment", default-features = false }
|
||||
txpool-runtime-api = { package = "sp-transaction-pool-runtime-api", path = "../../../primitives/transaction-pool/runtime-api", default-features = false }
|
||||
sp-transaction-pool = { package = "sp-transaction-pool-api", path = "../../../primitives/transaction-pool", default-features = false }
|
||||
version = { package = "sp-version", path = "../../../primitives/sr-version", default-features = false }
|
||||
|
||||
[build-dependencies]
|
||||
@@ -62,6 +62,6 @@ std = [
|
||||
"system/std",
|
||||
"timestamp/std",
|
||||
"transaction-payment/std",
|
||||
"txpool-runtime-api/std",
|
||||
"sp-transaction-pool/std",
|
||||
"version/std",
|
||||
]
|
||||
|
||||
@@ -328,7 +328,7 @@ impl_runtime_apis! {
|
||||
}
|
||||
}
|
||||
|
||||
impl txpool_runtime_api::TaggedTransactionQueue<Block> for Runtime {
|
||||
impl sp_transaction_pool::runtime_api::TaggedTransactionQueue<Block> for Runtime {
|
||||
fn validate_transaction(tx: <Block as BlockT>::Extrinsic) -> TransactionValidity {
|
||||
Executive::validate_transaction(tx)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user