mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 04:01:10 +00:00
26fa6e3c76
* Move runtime upgrade to `frame-executive` Instead of storing the runtime upgraded in the space of `frame-system`, this moves it to `frame-executive`. We also start storing the `spec_version` and `impl_version` the last runtime upgrade was applied. This scheme has multiple advantages: - We don't need to make sure that runtime upgrade was set. - This will work in the future when we want to test a runtime upgrade, because the `on_runtime_upgrade` will be executed automatically when the runtime changes. * Move `LAST_RUNTIME_UPGRADE` key to `frame-executive` * Add some more documentation * Make sure `spec_version` always increases between runtime upgrades * Fix test * Upgrade `parity-multiaddr` to fix compilation * Also check if the `spec_name` changed * Remove `RuntimeUpgraded` storage entry * Don't run on genesis
38 lines
1.4 KiB
TOML
38 lines
1.4 KiB
TOML
[package]
|
|
name = "frame-executive"
|
|
version = "2.0.0-alpha.3"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
license = "GPL-3.0"
|
|
homepage = "https://substrate.dev"
|
|
repository = "https://github.com/paritytech/substrate/"
|
|
description = "FRAME executives engine"
|
|
|
|
[dependencies]
|
|
codec = { package = "parity-scale-codec", version = "1.2.0", default-features = false, features = ["derive"] }
|
|
frame-support = { version = "2.0.0-alpha.2", default-features = false, path = "../support" }
|
|
frame-system = { version = "2.0.0-alpha.2", default-features = false, path = "../system" }
|
|
serde = { version = "1.0.101", optional = true }
|
|
sp-runtime = { version = "2.0.0-alpha.2", default-features = false, path = "../../primitives/runtime" }
|
|
sp-std = { version = "2.0.0-alpha.2", default-features = false, path = "../../primitives/std" }
|
|
|
|
[dev-dependencies]
|
|
hex-literal = "0.2.1"
|
|
sp-core = { version = "2.0.0-alpha.2", path = "../../primitives/core" }
|
|
sp-io ={ path = "../../primitives/io", version = "2.0.0-alpha.2"}
|
|
pallet-indices = { version = "2.0.0-alpha.2", path = "../indices" }
|
|
pallet-balances = { version = "2.0.0-alpha.2", path = "../balances" }
|
|
pallet-transaction-payment = { version = "2.0.0-alpha.2", path = "../transaction-payment" }
|
|
sp-version = { version = "2.0.0-alpha.2", path = "../../primitives/version" }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"codec/std",
|
|
"frame-support/std",
|
|
"frame-system/std",
|
|
"serde",
|
|
"sp-runtime/std",
|
|
"sp-std/std",
|
|
]
|