Skip to content

Commit

Permalink
fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-1 committed Mar 6, 2024
1 parent de93f34 commit 23507dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions x/tokenfactory/autocli.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ package tokenfactory

import (
autocliv1 "cosmossdk.io/api/cosmos/autocli/v1"
tokenfactoryv1beta1 "github.com/initia-labs/miniwasm/api/miniwasm/tokenfactory/v1beta1"
tokenfactoryv1 "github.com/initia-labs/miniwasm/api/miniwasm/tokenfactory/v1"
)

// AutoCLIOptions implements the autocli.HasAutoCLIConfig interface.
func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions {
return &autocliv1.ModuleOptions{
Query: &autocliv1.ServiceCommandDescriptor{
Service: tokenfactoryv1beta1.Query_ServiceDesc.ServiceName,
Service: tokenfactoryv1.Query_ServiceDesc.ServiceName,
RpcCommandOptions: []*autocliv1.RpcCommandOptions{
{
RpcMethod: "DenomAuthorityMetadata",
Expand Down Expand Up @@ -44,7 +44,7 @@ func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions {
EnhanceCustomCommand: true, // We still have manual commands in gov that we want to keep
},
// Tx: &autocliv1.ServiceCommandDescriptor{
// Service: tokenfactoryv1beta1.Msg_ServiceDesc.ServiceName,
// Service: tokenfactoryv1.Msg_ServiceDesc.ServiceName,
// RpcCommandOptions: []*autocliv1.RpcCommandOptions{
// {
// RpcMethod: "CreateDenom",
Expand Down

0 comments on commit 23507dc

Please sign in to comment.