mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 21:01:05 +00:00
278a054b81
* Squashed commit. New slashing mechanism (#554) … * Slashing improvements - unstake when balance too low - unstake after N slashes according to val prefs - don't early-terminate session/era unless unstaked - offline grace period before punishment * Fix warning * Cleanups and ensure slash_count decays * Bump authoring version and introduce needed authoring stub * Rename * Fix offline tracker * Fix offline tracker * Renames * Add test * Tests * Tests. Remove accidental merge files. Merge remote-tracking branch 'origin/master' into gav-new-pos Version bump, fixes (#572) … * Bump version, don't propose invalid blocks * Fix build. * Fixes. * More fixes. * Fix tests. * Fix more tests * More tests fixed Fix merge Fix accidental merge bug Fixes. Staking failsafes … - Don't slash/unstake/change session when too few staking participants - Introduce set_balance PrivCall Make minimum validator count dynamic. test fixes Fix tests. Fix tests Fix tests, update readme. Merge remote-tracking branch 'origin/master' into gav-new-pos Test with release. Use safe math when dealing with total stake Fix test again. Introduce events into runtime. Fix tests Add events for account new/reap Integration-style tests for events. * Remove old code
58 lines
2.5 KiB
TOML
58 lines
2.5 KiB
TOML
[package]
|
|
name = "demo-runtime"
|
|
version = "0.1.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
integer-sqrt = { git = "https://github.com/paritytech/integer-sqrt-rs.git", branch = "master" }
|
|
safe-mix = { version = "1.0", default_features = false}
|
|
substrate-codec-derive = { path = "../../../substrate/codec/derive" }
|
|
substrate-codec = { path = "../../../substrate/codec", default-features = false }
|
|
substrate-primitives = { path = "../../../substrate/primitives", default-features = false }
|
|
substrate-runtime-std = { path = "../../../substrate/runtime-std", default-features = false }
|
|
substrate-runtime-io = { path = "../../../substrate/runtime-io", default-features = false }
|
|
substrate-runtime-support = { path = "../../../substrate/runtime-support", default-features = false }
|
|
substrate-runtime-consensus = { path = "../../../substrate/runtime/consensus", default-features = false }
|
|
substrate-runtime-council = { path = "../../../substrate/runtime/council", default-features = false }
|
|
substrate-runtime-democracy = { path = "../../../substrate/runtime/democracy", default-features = false }
|
|
substrate-runtime-executive = { path = "../../../substrate/runtime/executive", default-features = false }
|
|
substrate-runtime-primitives = { path = "../../../substrate/runtime/primitives", default-features = false }
|
|
substrate-runtime-session = { path = "../../../substrate/runtime/session", default-features = false }
|
|
substrate-runtime-staking = { path = "../../../substrate/runtime/staking", default-features = false }
|
|
substrate-runtime-system = { path = "../../../substrate/runtime/system", default-features = false }
|
|
substrate-runtime-timestamp = { path = "../../../substrate/runtime/timestamp", default-features = false }
|
|
substrate-runtime-version = { path = "../../../substrate/runtime/version", default-features = false }
|
|
demo-primitives = { path = "../../primitives", default-features = false }
|
|
|
|
[features]
|
|
default = []
|
|
std = [
|
|
"safe-mix/std",
|
|
"substrate-codec/std",
|
|
"substrate-primitives/std",
|
|
"substrate-runtime-std/std",
|
|
"substrate-runtime-io/std",
|
|
"substrate-runtime-support/std",
|
|
"substrate-runtime-consensus/std",
|
|
"substrate-runtime-council/std",
|
|
"substrate-runtime-democracy/std",
|
|
"substrate-runtime-executive/std",
|
|
"substrate-runtime-primitives/std",
|
|
"substrate-runtime-session/std",
|
|
"substrate-runtime-staking/std",
|
|
"substrate-runtime-system/std",
|
|
"substrate-runtime-timestamp/std",
|
|
"substrate-runtime-version/std",
|
|
"demo-primitives/std",
|
|
]
|
|
|
|
[profile.release]
|
|
panic = "abort"
|
|
lto = true
|
|
|
|
[workspace]
|
|
members = []
|