Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianToledano committed Apr 2, 2024
1 parent d1cb115 commit fbb4867
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion x/group/genesis_test.go
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package group

import (
codectestutil "github.com/cosmos/cosmos-sdk/codec/testutil"
"testing"
"time"

"github.com/stretchr/testify/require"

banktypes "cosmossdk.io/x/bank/types"

codectestutil "github.com/cosmos/cosmos-sdk/codec/testutil"
"github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1"
sdk "github.com/cosmos/cosmos-sdk/types"
)
Expand Down
2 changes: 1 addition & 1 deletion x/group/keeper/invariants_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package keeper_test

import (
codectestutil "github.com/cosmos/cosmos-sdk/codec/testutil"
"testing"

dbm "github.com/cosmos/cosmos-db"
Expand All @@ -16,6 +15,7 @@ import (
"cosmossdk.io/x/group/keeper"

"github.com/cosmos/cosmos-sdk/codec"
codectestutil "github.com/cosmos/cosmos-sdk/codec/testutil"
"github.com/cosmos/cosmos-sdk/codec/types"
"github.com/cosmos/cosmos-sdk/runtime"
"github.com/cosmos/cosmos-sdk/testutil/testdata"
Expand Down
1 change: 0 additions & 1 deletion x/group/keeper/keeper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ func TestKeeperTestSuite(t *testing.T) {
}

func (s *TestSuite) TestProposalsByVPEnd() {

votingPeriod := s.policy.GetVotingPeriod()
ctx := s.sdkCtx
now := time.Now()
Expand Down
3 changes: 2 additions & 1 deletion x/group/migrations/v2/gen_state_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@ package v2_test

import (
"encoding/binary"
codectestutil "github.com/cosmos/cosmos-sdk/codec/testutil"
"testing"

"github.com/stretchr/testify/require"

authtypes "cosmossdk.io/x/auth/types"
"cosmossdk.io/x/group"
v2 "cosmossdk.io/x/group/migrations/v2"

codectestutil "github.com/cosmos/cosmos-sdk/codec/testutil"
)

func TestMigrateGenState(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion x/group/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ func (p PercentageDecisionPolicy) Allow(tally TallyResult, totalPower string) (D
var _ orm.Validateable = GroupPolicyInfo{}

// NewGroupPolicyInfo creates a new GroupPolicyInfo instance
func NewGroupPolicyInfo(address string, group uint64, admin string, metadata string,
func NewGroupPolicyInfo(address string, group uint64, admin, metadata string,
version uint64, decisionPolicy DecisionPolicy, createdAt time.Time,
) (GroupPolicyInfo, error) {
p := GroupPolicyInfo{
Expand Down

0 comments on commit fbb4867

Please sign in to comment.