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

testutils/sample: add more randomness in the sample genesis state generation #686

Open
lumtis opened this issue Apr 5, 2022 · 0 comments
Labels
test Improve tests

Comments

@lumtis
Copy link
Contributor

lumtis commented Apr 5, 2022

campaign: we removed sample mainnet genesis and vesting accounts added in the genesis to fix invariant issue: #684

For better test entropy we should add the accounts back and increment AllocatedShares of the associated campaign from the shares of the account to comply with the invariant. We could add in the sample genesis a random number of accounts i. a range with a random number of shares

This is the idea for campaign. The main idea of the issue is to look at every module sample genesis state and add more randomness (some of requests for launch... ) to add entropy into tests

@lumtis lumtis added the test Improve tests label Apr 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Improve tests
Projects
None yet
Development

No branches or pull requests

1 participant