Skip to content

Commit

Permalink
chore!: remove x/mint amino codec (#2258)
Browse files Browse the repository at this point in the history
Closes #2069

TBH I'm not sure if this is breaking b/c idk if anything uses the legacy
querier or Amino codec. If possible, would be nice to backport to v1.x.
  • Loading branch information
rootulp authored Aug 14, 2023
1 parent 176a587 commit c75cbc5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 184 deletions.
64 changes: 0 additions & 64 deletions x/mint/keeper/querier.go

This file was deleted.

104 changes: 0 additions & 104 deletions x/mint/keeper/querier_test.go

This file was deleted.

7 changes: 4 additions & 3 deletions x/mint/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,10 @@ func (AppModule) QuerierRoute() string {
return types.QuerierRoute
}

// LegacyQuerierHandler returns the mint module sdk.Querier.
func (am AppModule) LegacyQuerierHandler(legacyQuerierCdc *codec.LegacyAmino) sdk.Querier {
return keeper.NewQuerier(am.keeper, legacyQuerierCdc)
// LegacyQuerierHandler returns nil because this module doesn't support the
// legacy querier or Amino codec.
func (am AppModule) LegacyQuerierHandler(_ *codec.LegacyAmino) sdk.Querier {
return nil
}

// RegisterServices registers a gRPC query service to respond to the
Expand Down
13 changes: 0 additions & 13 deletions x/mint/types/codec.go

This file was deleted.

0 comments on commit c75cbc5

Please sign in to comment.