-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Randomized Simulation wishlist #1924
Comments
We also want to have simple, slow and dumb versions of modules post launch (for staking maybe prelaunch) which can verify the state of the accounts with for each transaction in the randomized tester |
followup from: #1783
|
Can you expand on this?
This isn't necessary, it's deterministic, I read the Tendermint code again - e.g. https://github.com/tendermint/tendermint/blob/013b9cef642f875634c614019ab13b17570778ad/state/execution.go#L244. |
Its not clear what the purpose of events are from just looking through the code. I get that operations can emit events, and we log statistics about them, but thats not clear from just looking at the code imo.
Cool! Another thing to add to the wishlist: |
We also should find a different way of doing our log messages. We keep on appending strings which ends up being O(N^2) due to string immutability. |
Tagging prelaunch as I think the current plan is to use this for determining if we even need to worry about gas (or signatures dominate), and to grind a significant amount of situations so we gain confidence in alot of random errors. |
Just confirmed, the reason testing is an order of magnitude slower than benchmarks is because of the log additions. |
Can we close this @cwgoes ? |
Most of these are done; binary search is not, but closing is fine for now. |
Feel free to edit this issue
Print out the size of the state tree at the end of simulation, so we have an idea how big the state tree is.Simple benchmarksSpeed up bank simulationMake make commands obey SIGTERMAllow operations to specify future operationsAdd simulation for governance slashing (description for how to do it in simulation: Allow operations to specify future operations #2166)Refactor parameters for Operations into structs (including caching pubkeys)/cc @cwgoes
The text was updated successfully, but these errors were encountered: