mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 18:07:58 +00:00
a782021ee8
* recover tx pool on light client * revert local tests fix * removed import renamings * futures03::Future -> std::future::Future * Update core/transaction-pool/graph/src/error.rs Co-Authored-By: Tomasz Drwięga <tomusdrw@users.noreply.github.com> * replace remove_from_ready with remove_invalid * avoid excess hashing * debug -> warn * TransactionPool + BasicTransactionPool * pause future tx reject when resubmitting * bump impl_version to make CI happy * and revert back local test fixes * alter doc to restart CI * Transaction::clone() -> Transaction::duplicate() * transactions -> updated_tranasctions * remove explicit consensus-common ref * ::std:: -> std:: * manual set/unset flag -> calling clusore with given flag value * removed comments * removed force argument * BestIterator -> Box<Iterator> * separate crate for TxPool + Maintainer trait * long line fix * pos-merge fix * fix benches compilation * Rename txpoolapi to txpool_api * Clean up. * Finalize merge. * post-merge fix * Move transaction pool api to primitives directly. * Consistent naming for txpool-runtime-api * Warn about missing docs. * Move abstraction for offchain calls to tx-pool-api. * Merge RPC instantiation. * Update cargo.lock * Post merge fixes. * Avoid depending on client. * Fix build
123 lines
6.8 KiB
TOML
123 lines
6.8 KiB
TOML
[package]
|
|
name = "node-runtime"
|
|
version = "2.0.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
build = "build.rs"
|
|
|
|
[dependencies]
|
|
# third-party dependencies
|
|
codec = { package = "parity-scale-codec", version = "1.0.6", default-features = false, features = ["derive"] }
|
|
integer-sqrt = { version = "0.1.2" }
|
|
safe-mix = { version = "1.0", default-features = false }
|
|
rustc-hex = { version = "2.0", optional = true }
|
|
serde = { version = "1.0.102", optional = true }
|
|
|
|
# primitives
|
|
authority-discovery-primitives = { package = "substrate-authority-discovery-primitives", path = "../../../primitives/authority-discovery", default-features = false }
|
|
babe-primitives = { package = "substrate-consensus-babe-primitives", path = "../../../primitives/consensus/babe", default-features = false }
|
|
block-builder-api = { package = "substrate-block-builder-runtime-api", path = "../../../primitives/block-builder/runtime-api", default-features = false}
|
|
inherents = { package = "substrate-inherents", path = "../../../primitives/inherents", default-features = false }
|
|
node-primitives = { path = "../primitives", default-features = false }
|
|
offchain-primitives = { package = "substrate-offchain-primitives", path = "../../../primitives/offchain", default-features = false }
|
|
primitives = { package = "substrate-primitives", path = "../../../primitives/core", default-features = false }
|
|
rstd = { package = "sr-std", path = "../../../primitives/sr-std", default-features = false }
|
|
sr-api = { path = "../../../primitives/sr-api", default-features = false }
|
|
sr-primitives = { path = "../../../primitives/sr-primitives", default-features = false }
|
|
sr-staking-primitives = { path = "../../../primitives/sr-staking-primitives", default-features = false }
|
|
substrate-keyring = { path = "../../../primitives/keyring", optional = true }
|
|
substrate-session = { path = "../../../primitives/session", default-features = false }
|
|
txpool-runtime-api = { package = "sp-transaction-pool-runtime-api", path = "../../../primitives/transaction-pool/runtime-api", default-features = false }
|
|
version = { package = "sr-version", path = "../../../primitives/sr-version", default-features = false }
|
|
|
|
# frame dependencies
|
|
authority-discovery = { package = "pallet-authority-discovery", path = "../../../frame/authority-discovery", default-features = false }
|
|
authorship = { package = "pallet-authorship", path = "../../../frame/authorship", default-features = false }
|
|
babe = { package = "pallet-babe", path = "../../../frame/babe", default-features = false }
|
|
balances = { package = "pallet-balances", path = "../../../frame/balances", default-features = false }
|
|
collective = { package = "pallet-collective", path = "../../../frame/collective", default-features = false }
|
|
contracts = { package = "pallet-contracts", path = "../../../frame/contracts", default-features = false }
|
|
contracts-rpc-runtime-api = { package = "pallet-contracts-rpc-runtime-api", path = "../../../frame/contracts/rpc/runtime-api/", default-features = false }
|
|
democracy = { package = "pallet-democracy", path = "../../../frame/democracy", default-features = false }
|
|
elections-phragmen = { package = "pallet-elections-phragmen", path = "../../../frame/elections-phragmen", default-features = false }
|
|
executive = { package = "frame-executive", path = "../../../frame/executive", default-features = false }
|
|
finality-tracker = { package = "pallet-finality-tracker", path = "../../../frame/finality-tracker", default-features = false }
|
|
grandpa = { package = "pallet-grandpa", path = "../../../frame/grandpa", default-features = false }
|
|
im-online = { package = "pallet-im-online", path = "../../../frame/im-online", default-features = false }
|
|
indices = { package = "pallet-indices", path = "../../../frame/indices", default-features = false }
|
|
membership = { package = "pallet-membership", path = "../../../frame/membership", default-features = false }
|
|
nicks = { package = "pallet-nicks", path = "../../../frame/nicks", default-features = false }
|
|
offences = { package = "pallet-offences", path = "../../../frame/offences", default-features = false }
|
|
randomness-collective-flip = { package = "pallet-randomness-collective-flip", path = "../../../frame/randomness-collective-flip", default-features = false }
|
|
session = { package = "pallet-session", path = "../../../frame/session", default-features = false, features = ["historical"] }
|
|
staking = { package = "pallet-staking", path = "../../../frame/staking", default-features = false, features = ["migrate"] }
|
|
pallet-staking-reward-curve = { path = "../../../frame/staking/reward-curve"}
|
|
sudo = { package = "pallet-sudo", path = "../../../frame/sudo", default-features = false }
|
|
support = { package = "frame-support", path = "../../../frame/support", default-features = false }
|
|
system = { package = "frame-system", path = "../../../frame/system", default-features = false }
|
|
system-rpc-runtime-api = { package = "frame-system-rpc-runtime-api", path = "../../../frame/system/rpc/runtime-api/", default-features = false }
|
|
timestamp = { package = "pallet-timestamp", path = "../../../frame/timestamp", default-features = false }
|
|
treasury = { package = "pallet-treasury", path = "../../../frame/treasury", default-features = false }
|
|
utility = { package = "frame-utility", path = "../../../frame/utility", default-features = false }
|
|
transaction-payment = { package = "pallet-transaction-payment", path = "../../../frame/transaction-payment", default-features = false }
|
|
transaction-payment-rpc-runtime-api = { package = "pallet-transaction-payment-rpc-runtime-api", path = "../../../frame/transaction-payment/rpc/runtime-api/", default-features = false }
|
|
|
|
[build-dependencies]
|
|
wasm-builder-runner = { package = "substrate-wasm-builder-runner", path = "../../../client/utils/wasm-builder-runner", version = "1.0.4" }
|
|
|
|
[dev-dependencies]
|
|
runtime_io = { package = "sr-io", path = "../../../primitives/sr-io" }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"authority-discovery-primitives/std",
|
|
"authority-discovery/std",
|
|
"authorship/std",
|
|
"babe-primitives/std",
|
|
"babe/std",
|
|
"balances/std",
|
|
"block-builder-api/std",
|
|
"codec/std",
|
|
"collective/std",
|
|
"contracts-rpc-runtime-api/std",
|
|
"contracts/std",
|
|
"democracy/std",
|
|
"elections-phragmen/std",
|
|
"executive/std",
|
|
"finality-tracker/std",
|
|
"grandpa/std",
|
|
"im-online/std",
|
|
"indices/std",
|
|
"inherents/std",
|
|
"membership/std",
|
|
"nicks/std",
|
|
"node-primitives/std",
|
|
"offchain-primitives/std",
|
|
"offences/std",
|
|
"primitives/std",
|
|
"randomness-collective-flip/std",
|
|
"rstd/std",
|
|
"rustc-hex",
|
|
"safe-mix/std",
|
|
"serde",
|
|
"session/std",
|
|
"sr-api/std",
|
|
"sr-primitives/std",
|
|
"sr-staking-primitives/std",
|
|
"staking/std",
|
|
"substrate-keyring",
|
|
"substrate-session/std",
|
|
"sudo/std",
|
|
"support/std",
|
|
"system-rpc-runtime-api/std",
|
|
"system/std",
|
|
"timestamp/std",
|
|
"transaction-payment-rpc-runtime-api/std",
|
|
"transaction-payment/std",
|
|
"treasury/std",
|
|
"txpool-runtime-api/std",
|
|
"utility/std",
|
|
"version/std",
|
|
]
|