-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
refactor: migrate calls from alias file to appropriate store/types #14455
Conversation
@tac0turtle please take a look, thanks. |
types/store_test.go
Outdated
@@ -57,19 +56,19 @@ func (s *storeTestSuite) TestCommitID() { | |||
} | |||
|
|||
func (s *storeTestSuite) TestNewTransientStoreKeys() { |
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.
+1, could you check? Otherwise we should move those tests in the store package.
@@ -10,28 +10,27 @@ import ( | |||
pruningtypes "github.com/cosmos/cosmos-sdk/store/pruning/types" | |||
snapshottypes "github.com/cosmos/cosmos-sdk/store/snapshots/types" | |||
storetypes "github.com/cosmos/cosmos-sdk/store/types" | |||
sdk "github.com/cosmos/cosmos-sdk/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.
Maybe we could delete that package and replace it by gomocks (does not have to be here)?
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.
minor suggestions
@julienrbrt @likhita-809 are you fine with merging this and then I follow up in a separate pr with your suggestions? |
That works for me! Thanks! |
actually fixed in this pr. |
@@ -189,6 +189,7 @@ replace ( | |||
github.com/99designs/keyring => github.com/cosmos/keyring v1.2.0 | |||
// Simapp always use the latest version of the cosmos-sdk | |||
github.com/cosmos/cosmos-sdk => ../. | |||
github.com/cosmos/cosmos-sdk/x/nft => .././x/nft |
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.
will remove after this pr is merged
@@ -187,4 +187,5 @@ replace ( | |||
// Fix upstream GHSA-h395-qcrw-5vmq vulnerability. | |||
// TODO Remove it: https://github.com/cosmos/cosmos-sdk/issues/10409 | |||
github.com/gin-gonic/gin => github.com/gin-gonic/gin v1.8.1 | |||
github.com/cosmos/cosmos-sdk/x/nft => .././x/nft // todo remove after pr merged |
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.
will remove after this pr is merged
lgtm! Could your follow-up @tac0turtle fix the golangci-lint issues too? |
…osmos#14455) Co-authored-by: Marko <[email protected]> Closes cosmos#14406
…osmos#14455) Co-authored-by: Marko <[email protected]> Closes cosmos#14406
Description
Closes: #14406
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
!
to the type prefix if API or client breaking changeCHANGELOG.md
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...
!
in the type prefix if API or client breaking change