From 298a332681831e28e1c8632726af1fa5e361f7e2 Mon Sep 17 00:00:00 2001 From: Uncle Stinky Date: Thu, 31 Jul 2025 16:17:10 +0300 Subject: [PATCH] make staking rewards dependant on bridged amount Signed-off-by: Uncle Stinky --- runtime/casper/Cargo.toml | 2 +- runtime/casper/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/casper/Cargo.toml b/runtime/casper/Cargo.toml index e1dbf58..51a0b77 100644 --- a/runtime/casper/Cargo.toml +++ b/runtime/casper/Cargo.toml @@ -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 diff --git a/runtime/casper/src/lib.rs b/runtime/casper/src/lib.rs index 9053f1c..937922a 100644 --- a/runtime/casper/src/lib.rs +++ b/runtime/casper/src/lib.rs @@ -505,7 +505,7 @@ impl pallet_staking::Config for Runtime { type SlashDeferDuration = SlashDeferDuration; type AdminOrigin = EitherOf>, Skeletons>; type SessionInterface = Self; - type EraPayout = pallet_staking::ConvertCurve; + type EraPayout = ghost_networks::BridgedInflationCurve; type MaxExposurePageSize = MaxExposurePageSize; type DisablingStrategy = pallet_staking::UpToLimitDisablingStrategy; type NextNewSession = Session;