mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-19 18:05:41 +00:00
9bd23e7f01
* Bump jsonrpc pubsub, core, http, and ws Right now these are the packages which _need_ to be updated so I can just the latest `jsonrpc-pubsub` code. Once a release it cut upstream the rest of the dependencies should be updated as well. * Use jsonrpc-pubsub's SubscriptionManager This places sc-rpc-api::Subscriptions * Bump jsonrpc-core outside of sc-rpc-* * Update client/rpc tests Right now one of the `author` tests is failing, I need to think a bit about how best to fix it. * Remove Subscriptions manager There's no need for this implementation since we're using the one from `jsonrpc-pubsub` now * Fix author RPC test This test used to check for a numerial subscription ID, whereas now it uses a string based ID which is the default provided by `jsonrpc-pubsub`'s subscription manager. * Remove unused NumericIdProvider * Add missing bracket Removed one too many with that last one, lol * Bump `jsonrpc` to v14.2 There's an exception though. `jsonrpc-derive` cannot be bumped past v14.0.5 just yet since it has a dependency on `quote` pinned to v1.0.1. This means that at the moment it won't build on Substrate since it's using v1.0.3. * Track `jsonrpc-derive` master branch * Bump `quote` version to v1.0.6 * Bump `jsonrpc-derive` to v14.2.1 This includes support for `quote` v1.0.6 * Use exact version for jsonrpc crates Doing this to make sure any updates in jsonrpc don't accidently trickle down to Polkadot. Co-authored-by: André Silva <andre.beat@gmail.com>
42 lines
1.8 KiB
TOML
42 lines
1.8 KiB
TOML
[package]
|
|
name = "sc-consensus-manual-seal"
|
|
version = "0.8.0-rc2"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
description = "Manual sealing engine for Substrate"
|
|
edition = "2018"
|
|
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
|
homepage = "https://substrate.dev"
|
|
repository = "https://github.com/paritytech/substrate/"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
derive_more = "0.99.2"
|
|
futures = "0.3.4"
|
|
jsonrpc-core = "14.2.0"
|
|
jsonrpc-core-client = "14.2.0"
|
|
jsonrpc-derive = "14.2.1"
|
|
log = "0.4.8"
|
|
parking_lot = "0.10.0"
|
|
serde = { version = "1.0", features=["derive"] }
|
|
assert_matches = "1.3.0"
|
|
|
|
sc-client-api = { path = "../../../client/api", version = "2.0.0-rc2" }
|
|
sc-transaction-pool = { path = "../../transaction-pool", version = "2.0.0-rc2" }
|
|
sp-blockchain = { path = "../../../primitives/blockchain", version = "2.0.0-rc2" }
|
|
sp-consensus = { package = "sp-consensus", path = "../../../primitives/consensus/common", version = "0.8.0-rc2" }
|
|
sp-inherents = { path = "../../../primitives/inherents", version = "2.0.0-rc2" }
|
|
sp-runtime = { path = "../../../primitives/runtime", version = "2.0.0-rc2" }
|
|
sp-core = { path = "../../../primitives/core", version = "2.0.0-rc2" }
|
|
sp-transaction-pool = { path = "../../../primitives/transaction-pool", version = "2.0.0-rc2" }
|
|
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../../utils/prometheus", version = "0.8.0-rc2" }
|
|
|
|
[dev-dependencies]
|
|
sc-basic-authorship = { path = "../../basic-authorship", version = "0.8.0-rc2" }
|
|
substrate-test-runtime-client = { path = "../../../test-utils/runtime/client", version = "2.0.0-rc2" }
|
|
substrate-test-runtime-transaction-pool = { path = "../../../test-utils/runtime/transaction-pool", version = "2.0.0-rc2" }
|
|
tokio = { version = "0.2", features = ["rt-core", "macros"] }
|
|
env_logger = "0.7.0"
|
|
tempfile = "3.1.0"
|