-
Notifications
You must be signed in to change notification settings - Fork 103
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
Use custom address prefix within feature files / unit tests #1243
Comments
Might make more sense to just do this once within an |
hey @ryanchristo i'm interested in working on this one! |
@ryanchristo made a naive attempt in the PR above, but i need some guidance to learn how to run the tests correctly. didn't actually check that my changes are working, just was aiming to get sorta close on it. |
Great! I've assigned you.
Left a comment in the pull request: #1253 (comment) |
Summary
The account address prefix
regen
is initialized at runtime and therefore the defaultcosmos
account address prefix is used within our unit tests. Given we are writing feature files that act as a specification for the intended behavior of Regen Ledger features, it would be nice to useregen
within our unit tests.It does not look like this is possible with the current version of the sdk.The following can be added to base suite setup for unit tests:
Problem Definition
The use of the
cosmos
prefix does not accurately reflect the expected behavior of Regen Ledger features.Proposal
Configure base suite setup for unit tests to use custom
regen
prefix and update address values as needed.For Admin Use
The text was updated successfully, but these errors were encountered: