mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 07:41:08 +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
33 lines
1.2 KiB
TOML
33 lines
1.2 KiB
TOML
[package]
|
|
name = "substrate-runtime-system"
|
|
version = "0.1.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
|
|
[dependencies]
|
|
hex-literal = "0.1.0"
|
|
serde = { version = "1.0", default_features = false }
|
|
serde_derive = { version = "1.0", optional = true }
|
|
safe-mix = { version = "1.0", default_features = false}
|
|
substrate-codec = { path = "../../codec", default_features = false }
|
|
substrate-codec-derive = { path = "../../codec/derive", default_features = false }
|
|
substrate-primitives = { path = "../../primitives", default_features = false }
|
|
substrate-runtime-std = { path = "../../runtime-std", default_features = false }
|
|
substrate-runtime-io = { path = "../../runtime-io", default_features = false }
|
|
substrate-runtime-support = { path = "../../runtime-support", default_features = false }
|
|
substrate-runtime-primitives = { path = "../primitives", default_features = false }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"serde/std",
|
|
"serde_derive",
|
|
"safe-mix/std",
|
|
"substrate-codec/std",
|
|
"substrate-codec-derive/std",
|
|
"substrate-primitives/std",
|
|
"substrate-runtime-std/std",
|
|
"substrate-runtime-io/std",
|
|
"substrate-runtime-support/std",
|
|
"substrate-runtime-primitives/std",
|
|
]
|