Skip to content
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

x/bank: remove alias.go usage #6439

Merged
merged 3 commits into from
Jun 14, 2020
Merged

Conversation

dauTT
Copy link
Contributor

@dauTT dauTT commented Jun 13, 2020

Description

This PR closes a sub task in #6311


Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • Targeted PR against correct branch (see CONTRIBUTING.md)
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Code follows the module structure standards.
  • Wrote unit and integration tests
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/)
  • Added relevant godoc comments.
  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • Re-reviewed Files changed in the Github PR explorer

@codecov
Copy link

codecov bot commented Jun 13, 2020

Codecov Report

Merging #6439 into master will not change coverage.
The diff coverage is 60.71%.

@@           Coverage Diff           @@
##           master    #6439   +/-   ##
=======================================
  Coverage   55.72%   55.72%           
=======================================
  Files         465      465           
  Lines       27782    27782           
=======================================
  Hits        15481    15481           
  Misses      11197    11197           
  Partials     1104     1104           

@@ -20,6 +20,8 @@ import (
"github.com/cosmos/cosmos-sdk/x/auth"
"github.com/cosmos/cosmos-sdk/x/auth/ante"
"github.com/cosmos/cosmos-sdk/x/bank"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this import here still?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The NewAppModule function is in the bank module.go. It is neither in bank/types nor in bank/keeper. Therefore we still need the import above ("github.com/cosmos/cosmos-sdk/x/bank")
Selection_065

Copy link
Contributor

@alexanderbez alexanderbez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK

@dauTT
Copy link
Contributor Author

dauTT commented Jun 14, 2020

The integration tests are failing. The strange things is, if I checkout the latest commit of the master branch (commit 8cf8098861243f170293077ab03c9101968d2d12) and I run locally make test-integration, the integration tests are failing even though the tests clearly passed in github (#6438). The same happens also for previous version of the master branch. Can someone help here?

Copy link
Member

@tac0turtle tac0turtle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

that is interesting. I haven't looked at the integration tests, will try to see whats happening

@tac0turtle tac0turtle added the A:automerge Automatically merge PR once all prerequisites pass. label Jun 14, 2020
@mergify mergify bot merged commit 24b9be0 into cosmos:master Jun 14, 2020
larry0x pushed a commit to larry0x/cosmos-sdk that referenced this pull request May 22, 2023
* x/bank: remove alias.go usage

* Fix simd_test.go
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A:automerge Automatically merge PR once all prerequisites pass. C:x/bank
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants