make staking rewards dependant on bridged amount
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
This commit is contained in:
parent
1c4c517728
commit
298a332681
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "casper-runtime"
|
name = "casper-runtime"
|
||||||
version = "3.5.29"
|
version = "3.5.30"
|
||||||
build = "build.rs"
|
build = "build.rs"
|
||||||
description = "Runtime of the Casper Network"
|
description = "Runtime of the Casper Network"
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
@ -505,7 +505,7 @@ impl pallet_staking::Config for Runtime {
|
|||||||
type SlashDeferDuration = SlashDeferDuration;
|
type SlashDeferDuration = SlashDeferDuration;
|
||||||
type AdminOrigin = EitherOf<EnsureRootWithSuccess<Self::AccountId, ConstU16<65535>>, Skeletons>;
|
type AdminOrigin = EitherOf<EnsureRootWithSuccess<Self::AccountId, ConstU16<65535>>, Skeletons>;
|
||||||
type SessionInterface = Self;
|
type SessionInterface = Self;
|
||||||
type EraPayout = pallet_staking::ConvertCurve<RewardCurve>;
|
type EraPayout = ghost_networks::BridgedInflationCurve<RewardCurve, Self>;
|
||||||
type MaxExposurePageSize = MaxExposurePageSize;
|
type MaxExposurePageSize = MaxExposurePageSize;
|
||||||
type DisablingStrategy = pallet_staking::UpToLimitDisablingStrategy;
|
type DisablingStrategy = pallet_staking::UpToLimitDisablingStrategy;
|
||||||
type NextNewSession = Session;
|
type NextNewSession = Session;
|
||||||
|
Loading…
Reference in New Issue
Block a user