From f228171aaae6d9956a2c02fe9c7a942ffd2199c7 Mon Sep 17 00:00:00 2001 From: MSalopek Date: Mon, 11 Mar 2024 11:50:57 +0100 Subject: [PATCH] democracy: update staking and gov --- x/ccv/democracy/governance/module.go | 3 +++ x/ccv/democracy/staking/module.go | 2 ++ 2 files changed, 5 insertions(+) diff --git a/x/ccv/democracy/governance/module.go b/x/ccv/democracy/governance/module.go index 1d509aee82..c4bf930066 100644 --- a/x/ccv/democracy/governance/module.go +++ b/x/ccv/democracy/governance/module.go @@ -6,6 +6,7 @@ import ( "time" "cosmossdk.io/collections" + "cosmossdk.io/core/appmodule" "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" @@ -23,6 +24,8 @@ const ( var ( _ module.AppModule = AppModule{} _ module.AppModuleSimulation = AppModule{} + + _ appmodule.HasEndBlocker = AppModule{} ) // AppModule embeds the Cosmos SDK's x/governance AppModule diff --git a/x/ccv/democracy/staking/module.go b/x/ccv/democracy/staking/module.go index a0b3aa851f..ac2cc08ee6 100644 --- a/x/ccv/democracy/staking/module.go +++ b/x/ccv/democracy/staking/module.go @@ -22,6 +22,8 @@ var ( _ module.AppModule = AppModule{} _ module.AppModuleBasic = AppModuleBasic{} _ module.AppModuleSimulation = AppModule{} + + _ module.HasABCIGenesis = AppModule{} ) // AppModule embeds the Cosmos SDK's x/staking AppModuleBasic.