-
Notifications
You must be signed in to change notification settings - Fork 43
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
Test network fails to initialize for some cli
tests
#312
Comments
Issue seems to occur when having |
Maybe we can clean up the data after the test run |
I got it, we seal the config when calling Though the relationship with the actual error is very ambiguous |
I just realize that we don't need to set the prefix at all for the tests. If not globally set, the whole testing environment will use the default prefix for valid address. We just need to ensure no hardcoded address are set with |
From migration to
0.44.0
: #310Test network initialization fails for some CLI tests:
The genesis initialization of the
distribution
module fails with the error:The problem is the
distribution
module balance should be empty at the genesis initialization but here the module balance is1000000000node0token,500000000stake
The tests are passing when tested individually, the error only occurs when the whole package is tested.
Also the error is actually related to the specific type to test because when removing the types to test from the genesis, the test network initialization is successful:
For example with
Request
The text was updated successfully, but these errors were encountered: