-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Lint in CI #185
Fix Lint in CI #185
Conversation
app/app.go
Outdated
@@ -30,12 +28,15 @@ import ( | |||
"cosmossdk.io/x/upgrade" | |||
upgradekeeper "cosmossdk.io/x/upgrade/keeper" | |||
upgradetypes "cosmossdk.io/x/upgrade/types" | |||
"github.com/spf13/cast" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems out of place
app/app.go
Outdated
abci "github.com/cometbft/cometbft/abci/types" | ||
tmproto "github.com/cometbft/cometbft/proto/tendermint/types" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't cometbft go before cosmos or cosmossdk.io?
app/export.go
Outdated
app.StakingKeeper.SetUnbondingDelegation(ctx, ubd) | ||
err := app.StakingKeeper.SetUnbondingDelegation(ctx, ubd) | ||
if err != nil { | ||
log.Fatal(err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not be consistent and panic here?
app/simulation_test.go
Outdated
@@ -10,13 +10,13 @@ import ( | |||
"testing" | |||
"time" | |||
|
|||
"cosmossdk.io/log" | |||
storetypes "cosmossdk.io/store/types" | |||
evidencetypes "cosmossdk.io/x/evidence/types" | |||
"github.com/stretchr/testify/require" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems out of place
cmd/seda-chaind/cmd/root.go
Outdated
"github.com/spf13/cast" | ||
"github.com/spf13/cobra" | ||
"github.com/spf13/pflag" | ||
"google.golang.org/grpc" | ||
"google.golang.org/protobuf/reflect/protoregistry" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should go after standard packages but before cometbft/cosmos
cmd/seda-chaind/gentx/gentx.go
Outdated
address "cosmossdk.io/core/address" | ||
"cosmossdk.io/errors" | ||
"github.com/spf13/cobra" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
e2e/e2e_setup_test.go
Outdated
"github.com/ory/dockertest/v3" | ||
"github.com/ory/dockertest/v3/docker" | ||
"github.com/spf13/viper" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
The import order of standard -> default -> cometbft -> cosmos -> seed-chain as defined in |
167353f
to
8e460ae
Compare
This builds on top of #178