refactor: introduce abciGenesis interface (backport #17554) (#17575)

Co-authored-by: Marko <marbar3778@yahoo.com>
This commit is contained in:
mergify[bot]
2023-08-31 13:05:57 +02:00
committed by GitHub
co-authored by Marko
parent b2627e9fae
commit 013889de23
40 changed files with 654 additions and 595 deletions
+3 -3
View File
@@ -21,8 +21,8 @@ import (
)
var (
_ module.AppModuleGenesis = AppModule{}
_ module.AppModuleBasic = AppModuleBasic{}
_ module.HasABCIGenesis = AppModule{}
_ module.AppModuleBasic = AppModuleBasic{}
)
// AppModuleBasic defines the basic application module used by the genutil module.
@@ -45,7 +45,7 @@ func (AppModuleBasic) Name() string {
func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) {}
// RegisterInterfaces registers the module's interface types
func (b AppModuleBasic) RegisterInterfaces(_ cdctypes.InterfaceRegistry) {}
func (b AppModuleBasic) RegisterInterfaces(cdctypes.InterfaceRegistry) {}
// DefaultGenesis returns default genesis state as raw bytes for the genutil
// module.