mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-18 05:55:41 +00:00
c96f8cfcca
* HRMP: Update the impl guide * HRMP: Incorporate the channel notifications into the guide * HRMP: Renaming in the impl guide * HRMP: Constrain the maximum number of HRMP messages per candidate This commit addresses the HRMP part of https://github.com/paritytech/polkadot/issues/1869 * XCM: Introduce HRMP related message types * HRMP: Data structures and plumbing * HRMP: Configuration * HRMP: Data layout * HRMP: Acceptance & Enactment * HRMP: Test base logic * Update adder collator * HRMP: Runtime API for accessing inbound messages Also, removing some redundant fully-qualified names. * HRMP: Add diagnostic logging in acceptance criteria * HRMP: Additional tests * Self-review fixes * save test refactorings for the next time * Missed a return statement. * a formatting blip * Add missing logic for appending HRMP digests * Remove the channel contents vectors which became empty * Tighten HRMP channel digests invariants. * Apply suggestions from code review Co-authored-by: Peter Goodspeed-Niklaus <coriolinus@users.noreply.github.com> * Remove a note about sorting for channel id * Add missing rustdocs to the configuration * Clarify and update the invariant for HrmpChannelDigests * Make the onboarding invariant less sloppy Namely, introduce `Paras::is_valid_para` (in fact, it already is present in the implementation) and hook up the invariant to that. Note that this says "within a session" because I don't want to make it super strict on the session boundary. The logic on the session boundary should be extremely careful. * Make `CandidateCheckContext` use T::BlockNumber for hrmp_watermark Co-authored-by: Peter Goodspeed-Niklaus <coriolinus@users.noreply.github.com>
93 lines
4.6 KiB
TOML
93 lines
4.6 KiB
TOML
[package]
|
|
name = "polkadot-runtime-parachains"
|
|
version = "0.8.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
bitvec = { version = "0.17.4", default-features = false, features = ["alloc"] }
|
|
codec = { package = "parity-scale-codec", version = "1.3.4", default-features = false, features = ["derive"] }
|
|
log = "0.4.11"
|
|
rustc-hex = { version = "2.0.1", default-features = false }
|
|
serde = { version = "1.0.102", features = [ "derive" ], optional = true }
|
|
|
|
sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true }
|
|
|
|
pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
frame-system = {git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-vesting = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-offences = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true }
|
|
|
|
xcm = { package = "xcm", path = "../../xcm", default-features = false }
|
|
primitives = { package = "polkadot-primitives", path = "../../primitives", default-features = false }
|
|
libsecp256k1 = { version = "0.3.2", default-features = false, optional = true }
|
|
|
|
rand = { version = "0.7", default-features = false }
|
|
rand_chacha = { version = "0.2.2", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
futures = "0.3.4"
|
|
hex-literal = "0.2.1"
|
|
keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
serde_json = "1.0.41"
|
|
libsecp256k1 = "0.3.2"
|
|
sp-version = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "master"}
|
|
|
|
|
|
[features]
|
|
default = ["std"]
|
|
no_std = []
|
|
std = [
|
|
"bitvec/std",
|
|
"codec/std",
|
|
"rustc-hex/std",
|
|
"serde",
|
|
"primitives/std",
|
|
"inherents/std",
|
|
"sp-core/std",
|
|
"sp-api/std",
|
|
"sp-keystore",
|
|
"sp-std/std",
|
|
"sp-io/std",
|
|
"frame-support/std",
|
|
"pallet-authorship/std",
|
|
"pallet-balances/std",
|
|
"sp-runtime/std",
|
|
"sp-session/std",
|
|
"sp-staking/std",
|
|
"pallet-session/std",
|
|
"pallet-staking/std",
|
|
"frame-system/std",
|
|
"pallet-timestamp/std",
|
|
"pallet-vesting/std",
|
|
"xcm/std",
|
|
]
|
|
runtime-benchmarks = [
|
|
"libsecp256k1/hmac",
|
|
"frame-benchmarking",
|
|
"frame-support/runtime-benchmarks",
|
|
"frame-system/runtime-benchmarks",
|
|
]
|