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

algonet: use lower value of LastPartKeyRound for bootstrappedScenario #3865

Merged
merged 4 commits into from
Apr 12, 2022

Conversation

cce
Copy link
Contributor

@cce cce commented Apr 7, 2022

Summary

The genesis.json file in the bootstrappedScenario specifies 3M for LastPartKeyRound, which can take many hours to generate 100 participation & falcon keys for a 3M round range when running this scenario using algonet (via "netgoal build").

This lowers the round range to 50K which will only take a few minutes, and matches the LastPartKeyRound used in genesis.json for scenario1, scenario2, scenario3. It also modifies the genesis wallet generator to print out how long it took after generating all the keys, if verbose mode is on.

Test Plan

Existing tests should pass.

@cce cce requested review from algojohnlee and egieseke April 7, 2022 18:51
@cce cce self-assigned this Apr 7, 2022
@cce cce added the Enhancement label Apr 7, 2022
@cce
Copy link
Contributor Author

cce commented Apr 7, 2022

Example of new log message
image

@cce
Copy link
Contributor Author

cce commented Apr 7, 2022

Increased it to 50K to match scenario1/2/3 genesis.json files.

@cce
Copy link
Contributor Author

cce commented Apr 7, 2022

Now it takes 7m for 50k rounds
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants