-
Notifications
You must be signed in to change notification settings - Fork 18
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: use chaintestutil
for integration test setup
#46
Conversation
BankKeeper bankkeeper.Keeper | ||
DistrKeeper distrkeeper.Keeper | ||
StakingKeeper *stakingkeeper.Keeper | ||
testkeeper.TestKeepers |
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.
My general idea here is for you to create your own TestKeepers
struct which extends the "base" testkeepers chaintestutil
gives you (bank, auth, distr, staking, etc).
So, here, we are just extending it with the feemarket keeper
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
Factor out most logic found in
testutils
to new package: chaintestutil.NOTE: testing will fail because a local version of
chaintestutil
is being used as the repo is currently privatetest-unit
andtest-integration
run locally