mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-04 16:17:23 +00:00
10cec3b591
* upgrade primitives to allow changing validation function * set up storage schema for old parachains code * fix compilation errors * fix test compilation * add some tests for past code meta * most of the runtime logic for code upgrades * implement old-code pruning * add a couple tests * clean up remaining TODOs * add a whole bunch of tests for runtime functionality * remove unused function * fix runtime compilation * extract some primitives to parachain crate * add validation-code upgrades to validation params and result * extend validation params with code upgrade fields * provide maximums to validation params * port test-parachains * add a code-upgrader test-parachain and tests * fix collator tests * move test-parachains to own folder to work around compilation errors * fix test compilation * update the Cargo.lock * fix parachains tests * remove dbg! invocation * use new pool in code-upgrader * bump lockfile * link TODO to issue
42 lines
2.0 KiB
TOML
42 lines
2.0 KiB
TOML
[package]
|
|
name = "polkadot-primitives"
|
|
version = "0.7.29-pre1"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
serde = { version = "1.0.102", optional = true, features = ["derive"] }
|
|
parity-scale-codec = { version = "1.3.0", default-features = false, features = ["bit-vec", "derive"] }
|
|
primitives = { package = "sp-core", 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 }
|
|
application-crypto = { package = "sp-application-crypto", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-version = { 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-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
runtime_primitives = { package = "sp-runtime", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
polkadot-parachain = { path = "../parachain", default-features = false }
|
|
trie = { package = "sp-trie", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
bitvec = { version = "0.17.4", default-features = false, features = ["alloc"] }
|
|
|
|
[dev-dependencies]
|
|
sp-serializer = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
pretty_assertions = "0.5.1"
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"parity-scale-codec/std",
|
|
"primitives/std",
|
|
"inherents/std",
|
|
"trie/std",
|
|
"sp-api/std",
|
|
"sp-std/std",
|
|
"sp-version/std",
|
|
"sp-staking/std",
|
|
"runtime_primitives/std",
|
|
"serde",
|
|
"polkadot-parachain/std",
|
|
"bitvec/std",
|
|
]
|