From e15fb3db11181152260372a9932e5304e5b8f772 Mon Sep 17 00:00:00 2001 From: Kurdistan Tech Ministry Date: Sat, 14 Feb 2026 20:31:30 +0300 Subject: [PATCH] fix: connect authorship EventHandler to Staking for reward point distribution Without this, block authors are never reported to the staking pallet, resulting in zero reward points and no era payouts. --- pezkuwi/runtime/pezkuwichain/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pezkuwi/runtime/pezkuwichain/src/lib.rs b/pezkuwi/runtime/pezkuwichain/src/lib.rs index 6ec30d57..52e90bad 100644 --- a/pezkuwi/runtime/pezkuwichain/src/lib.rs +++ b/pezkuwi/runtime/pezkuwichain/src/lib.rs @@ -413,7 +413,7 @@ impl pezpallet_timestamp::Config for Runtime { impl pezpallet_authorship::Config for Runtime { type FindAuthor = pezpallet_session::FindAccountFromAuthorIndex; - type EventHandler = (); + type EventHandler = Staking; } impl_opaque_keys! {