refactor(core,types,runtime,x): make HasName not mandatory (#20984)

This commit is contained in:
Julien Robert
2024-07-19 08:58:47 +00:00
committed by GitHub
parent 2e0e6d8776
commit 25dce71f62
36 changed files with 121 additions and 357 deletions
-5
View File
@@ -66,11 +66,6 @@ type HasPrecommit interface {
Precommit(context.Context) error
}
// HasName is an extension interface that must return the appmodule.AppModule's Name.
type HasName interface {
Name() string
}
// HasAminoCodec is an extension interface that module must implement to support JSON encoding and decoding of its types
// through amino. This is used in genesis & the CLI client.
type HasAminoCodec interface {