-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Remove dependency of types/module package on x/simulation #5835
Remove dependency of types/module package on x/simulation #5835
Conversation
@alessio, @fedekunze can you take a look if you see something weird? The dependency is removed now and compiles. |
…f github.com:cosmos/cosmos-sdk into jonathan/5724-module-simulation-top-level-dependency
Codecov Report
@@ Coverage Diff @@
## master #5835 +/- ##
=======================================
Coverage 32.32% 32.32%
=======================================
Files 353 353
Lines 39465 39465
=======================================
Hits 12759 12759
Misses 25434 25434
Partials 1272 1272
|
Codecov Report
@@ Coverage Diff @@
## master #5835 +/- ##
=======================================
Coverage 32.32% 32.32%
=======================================
Files 353 353
Lines 39476 39476
=======================================
Hits 12760 12760
Misses 25440 25440
Partials 1276 1276
|
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.
ACK. Pleae run make format.
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.
Not all deps have been removed
Co-Authored-By: Alessio Treglia <[email protected]>
Co-Authored-By: Marko <[email protected]>
Co-Authored-By: Marko <[email protected]>
Co-Authored-By: Marko <[email protected]>
x/gov/simulation/params.go
Outdated
@@ -7,9 +7,10 @@ import ( | |||
"fmt" | |||
"math/rand" | |||
|
|||
"github.com/cosmos/cosmos-sdk/x/simulation" |
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.
File is not goimports
-ed (from goimports
)
"github.com/cosmos/cosmos-sdk/x/simulation" |
x/staking/module.go
Outdated
@@ -13,12 +13,12 @@ import ( | |||
cfg "github.com/tendermint/tendermint/config" | |||
"github.com/tendermint/tendermint/crypto" | |||
|
|||
simtypes "github.com/cosmos/cosmos-sdk/types/simulation" |
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.
File is not goimports
-ed (from goimports
)
simtypes "github.com/cosmos/cosmos-sdk/types/simulation" |
@@ -7,6 +7,7 @@ import ( | |||
"math/rand" | |||
|
|||
"github.com/cosmos/cosmos-sdk/x/simulation" | |||
simtypes "github.com/cosmos/cosmos-sdk/types/simulation" |
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.
File is not gofmt
-ed with -s
(from gofmt
)
simtypes "github.com/cosmos/cosmos-sdk/types/simulation" | |
simtypes "github.com/cosmos/cosmos-sdk/types/simulation" | |
"github.com/cosmos/cosmos-sdk/x/simulation" |
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.
LGTM 🇪🇸 🐧
Closes: #5724
Description
For contributor use:
docs/
) or specification (x/<module>/spec/
)godoc
comments.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorerFor admin use:
WIP
,R4R
,docs
, etc)