-
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
refactor(types): remove dependency on simapp in integration test #12587
Conversation
"cosmossdk.io/depinject" | ||
) | ||
|
||
var beginBlockOrder = []string{ |
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.
Note: I am using naked strings here to avoid a hard dependency on modules from the configurator package.
"github.com/cosmos/cosmos-sdk/x/bank/testutil" | ||
"github.com/cosmos/cosmos-sdk/x/bank/types" | ||
_ "github.com/cosmos/cosmos-sdk/x/params" | ||
) |
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.
Additions are the immediate module dependencies this integration test requires, e.g.
_ "github.com/cosmos/cosmos-sdk/x/params"
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
Codecov Report
@@ Coverage Diff @@
## main #12587 +/- ##
==========================================
- Coverage 65.63% 65.20% -0.44%
==========================================
Files 711 693 -18
Lines 73099 71836 -1263
==========================================
- Hits 47980 46838 -1142
+ Misses 22457 22368 -89
+ Partials 2662 2630 -32 |
@@ -0,0 +1,109 @@ | |||
package configurator |
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.
Love this!
Description
Closes: #12584
depinject
simapp
replaced by 3 dependencies on modules used in the integration test: bank, auth, and params.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