Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
taryune committed Dec 14, 2023
1 parent e280073 commit ff41036
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 5 deletions.
3 changes: 2 additions & 1 deletion x/registry/client/cli/tx_update_text_record.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ import (
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/flags"
"github.com/cosmos/cosmos-sdk/client/tx"
"github.com/mycel-domain/mycel/x/registry/types"
"github.com/spf13/cobra"

"github.com/mycel-domain/mycel/x/registry/types"
)

var _ = strconv.Itoa(0)
Expand Down
1 change: 1 addition & 0 deletions x/registry/keeper/msg_server_update_text_record.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (

errorsmod "cosmossdk.io/errors"
sdk "github.com/cosmos/cosmos-sdk/types"

"github.com/mycel-domain/mycel/x/registry/types"
)

Expand Down
1 change: 1 addition & 0 deletions x/registry/simulation/update_text_record.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"github.com/cosmos/cosmos-sdk/baseapp"
sdk "github.com/cosmos/cosmos-sdk/types"
simtypes "github.com/cosmos/cosmos-sdk/types/simulation"

"github.com/mycel-domain/mycel/x/registry/keeper"
"github.com/mycel-domain/mycel/x/registry/types"
)
Expand Down
3 changes: 2 additions & 1 deletion x/registry/types/message_update_text_record_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ import (
"testing"

sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
"github.com/mycel-domain/mycel/testutil/sample"
"github.com/stretchr/testify/require"

"github.com/mycel-domain/mycel/testutil/sample"
)

func TestMsgUpdateTextRecord_ValidateBasic(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion x/resolver/client/cli/query_text_record.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ import (

"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/flags"
"github.com/mycel-domain/mycel/x/resolver/types"
"github.com/spf13/cobra"

"github.com/mycel-domain/mycel/x/resolver/types"
)

var _ = strconv.Itoa(0)
Expand Down
5 changes: 3 additions & 2 deletions x/resolver/keeper/query_text_record.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ import (
"context"

sdk "github.com/cosmos/cosmos-sdk/types"
registrytypes "github.com/mycel-domain/mycel/x/registry/types"
"github.com/mycel-domain/mycel/x/resolver/types"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"

registrytypes "github.com/mycel-domain/mycel/x/registry/types"
"github.com/mycel-domain/mycel/x/resolver/types"
)

func (k Keeper) TextRecord(goCtx context.Context, req *types.QueryTextRecordRequest) (*types.QueryTextRecordResponse, error) {
Expand Down

0 comments on commit ff41036

Please sign in to comment.