Skip to content

Commit

Permalink
refactor: remove params and cli code
Browse files Browse the repository at this point in the history
  • Loading branch information
jtieri committed Aug 20, 2024
1 parent 85176cd commit 4401ee2
Show file tree
Hide file tree
Showing 6 changed files with 52 additions and 283 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"strings"
"time"

"github.com/armon/go-metrics"
"github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7/packetforward/types"

errorsmod "cosmossdk.io/errors"
Expand Down
3 changes: 0 additions & 3 deletions middleware/packet-forward-middleware/packetforward/module.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
package packetforward

import (
"context"
"encoding/json"
"fmt"

"github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7/packetforward/client/cli"
"github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7/packetforward/exported"
"github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7/packetforward/keeper"
"github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7/packetforward/types"
Expand Down Expand Up @@ -68,7 +66,6 @@ func (AppModuleBasic) RegisterRESTRoutes(_ client.Context, _ *mux.Router) {}

// RegisterGRPCGatewayRoutes registers the gRPC Gateway routes for the packetforward module.
func (AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, mux *runtime.ServeMux) {
_ = types.RegisterQueryHandlerClient(context.Background(), mux, types.NewQueryClient(clientCtx))
}

// GetTxCmd implements AppModuleBasic interface
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func init() {
// Register all Amino interfaces and concrete types on the authz Amino codec
// so that this can later be used to properly serialize MsgGrant and MsgExec
// instances.
RegisterLegacyAminoCodec(authzcodec.Amino)
// RegisterLegacyAminoCodec(authzcodec.Amino)
}

// RegisterLegacyAminoCodec registers concrete types on the LegacyAmino codec
Expand Down
Loading

0 comments on commit 4401ee2

Please sign in to comment.