diff --git a/x/authz/module/module.go b/x/authz/module/module.go index 5ec55203f8e8..f65a747d82d3 100644 --- a/x/authz/module/module.go +++ b/x/authz/module/module.go @@ -29,7 +29,7 @@ import ( ) var ( - _ module.AppModule = AppModule{} + _ module.BeginBlockAppModule = AppModule{} _ module.AppModuleBasic = AppModuleBasic{} _ module.AppModuleSimulation = AppModule{} ) diff --git a/x/capability/module.go b/x/capability/module.go index f0efce7d0075..688086a4e2b7 100644 --- a/x/capability/module.go +++ b/x/capability/module.go @@ -29,7 +29,7 @@ import ( ) var ( - _ module.AppModule = AppModule{} + _ module.BeginBlockAppModule = AppModule{} _ module.AppModuleBasic = AppModuleBasic{} _ module.AppModuleSimulation = AppModule{} ) diff --git a/x/crisis/module.go b/x/crisis/module.go index c885b65cb201..756fdf9ae807 100644 --- a/x/crisis/module.go +++ b/x/crisis/module.go @@ -36,8 +36,8 @@ import ( const ConsensusVersion = 2 var ( - _ module.AppModule = AppModule{} - _ module.AppModuleBasic = AppModuleBasic{} + _ module.EndBlockAppModule = AppModule{} + _ module.AppModuleBasic = AppModuleBasic{} ) // Module init related flags diff --git a/x/distribution/module.go b/x/distribution/module.go index 4c30e9caf0b6..022638a30a2c 100644 --- a/x/distribution/module.go +++ b/x/distribution/module.go @@ -35,7 +35,7 @@ import ( const ConsensusVersion = 3 var ( - _ module.AppModule = AppModule{} + _ module.BeginBlockAppModule = AppModule{} _ module.AppModuleBasic = AppModuleBasic{} _ module.AppModuleSimulation = AppModule{} ) diff --git a/x/evidence/module.go b/x/evidence/module.go index 8897c20f5070..419a0f36dc75 100644 --- a/x/evidence/module.go +++ b/x/evidence/module.go @@ -30,7 +30,7 @@ import ( ) var ( - _ module.AppModule = AppModule{} + _ module.BeginBlockAppModule = AppModule{} _ module.AppModuleBasic = AppModuleBasic{} _ module.AppModuleSimulation = AppModule{} ) diff --git a/x/feegrant/module/module.go b/x/feegrant/module/module.go index 081134f34b25..a91d243869e5 100644 --- a/x/feegrant/module/module.go +++ b/x/feegrant/module/module.go @@ -29,7 +29,7 @@ import ( ) var ( - _ module.AppModule = AppModule{} + _ module.EndBlockAppModule = AppModule{} _ module.AppModuleBasic = AppModuleBasic{} _ module.AppModuleSimulation = AppModule{} ) diff --git a/x/gov/module.go b/x/gov/module.go index 754a7734e6a6..42fbc5cd8f0b 100644 --- a/x/gov/module.go +++ b/x/gov/module.go @@ -40,7 +40,7 @@ import ( const ConsensusVersion = 4 var ( - _ module.AppModule = AppModule{} + _ module.EndBlockAppModule = AppModule{} _ module.AppModuleBasic = AppModuleBasic{} _ module.AppModuleSimulation = AppModule{} ) diff --git a/x/group/module/module.go b/x/group/module/module.go index 1679bfa9d781..9de8a11ff2d4 100644 --- a/x/group/module/module.go +++ b/x/group/module/module.go @@ -29,7 +29,7 @@ import ( ) var ( - _ module.AppModule = AppModule{} + _ module.EndBlockAppModule = AppModule{} _ module.AppModuleBasic = AppModuleBasic{} _ module.AppModuleSimulation = AppModule{} ) diff --git a/x/mint/module.go b/x/mint/module.go index e586e699b01e..8ce235b718bb 100644 --- a/x/mint/module.go +++ b/x/mint/module.go @@ -34,7 +34,7 @@ import ( const ConsensusVersion = 2 var ( - _ module.AppModule = AppModule{} + _ module.BeginBlockAppModule = AppModule{} _ module.AppModuleBasic = AppModuleBasic{} _ module.AppModuleSimulation = AppModule{} ) diff --git a/x/slashing/module.go b/x/slashing/module.go index 451d4a8bf154..9380d4f2e178 100644 --- a/x/slashing/module.go +++ b/x/slashing/module.go @@ -35,7 +35,7 @@ import ( const ConsensusVersion = 3 var ( - _ module.AppModule = AppModule{} + _ module.BeginBlockAppModule = AppModule{} _ module.AppModuleBasic = AppModuleBasic{} _ module.AppModuleSimulation = AppModule{} ) diff --git a/x/staking/module.go b/x/staking/module.go index 66deb54e8908..69dd6c84c151 100644 --- a/x/staking/module.go +++ b/x/staking/module.go @@ -38,7 +38,8 @@ const ( ) var ( - _ module.AppModule = AppModule{} + _ module.BeginBlockAppModule = AppModule{} + _ module.EndBlockAppModule = AppModule{} _ module.AppModuleBasic = AppModuleBasic{} _ module.AppModuleSimulation = AppModule{} ) diff --git a/x/upgrade/module.go b/x/upgrade/module.go index 881282a3844e..1568e21d5812 100644 --- a/x/upgrade/module.go +++ b/x/upgrade/module.go @@ -41,8 +41,8 @@ const ( ) var ( - _ module.AppModule = AppModule{} - _ module.AppModuleBasic = AppModuleBasic{} + _ module.BeginBlockAppModule = AppModule{} + _ module.AppModuleBasic = AppModuleBasic{} ) // AppModuleBasic implements the sdk.AppModuleBasic interface