make staking rewards dependant on bridged amount

Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
This commit is contained in:
Uncle Stinky 2025-07-31 16:17:10 +03:00
parent 1c4c517728
commit 298a332681
Signed by: st1nky
GPG Key ID: 016064BD97603B40
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "casper-runtime"
version = "3.5.29"
version = "3.5.30"
build = "build.rs"
description = "Runtime of the Casper Network"
edition.workspace = true

View File

@ -505,7 +505,7 @@ impl pallet_staking::Config for Runtime {
type SlashDeferDuration = SlashDeferDuration;
type AdminOrigin = EitherOf<EnsureRootWithSuccess<Self::AccountId, ConstU16<65535>>, Skeletons>;
type SessionInterface = Self;
type EraPayout = pallet_staking::ConvertCurve<RewardCurve>;
type EraPayout = ghost_networks::BridgedInflationCurve<RewardCurve, Self>;
type MaxExposurePageSize = MaxExposurePageSize;
type DisablingStrategy = pallet_staking::UpToLimitDisablingStrategy;
type NextNewSession = Session;