You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When doing simulations against anvil, a lot of time gets spent calculating root hashes. As far as I understand this is a proof of correctness, and is useful when multiple nodes are talking to each other; however in a simulation environment these hashes aren't useful. The simulation tooling I've been testing with (Compass Labs) shows that commenting out the lines which calculate these root hashes speeds things up the entire simulation by roughly 25%.
I would like it if there was some way to configure anvil to not calculate these root hashes. This configuration option could be something like "skip_root_hashes", or something like "single_node_simulation_environment", in case there are further options that make sense only for a simulation environment.
I would be happy to make an attempt to write this feature if people think it's a good idea, and I get advise on how best to do the configuration option.
Additional context
No response
The text was updated successfully, but these errors were encountered:
Component
Anvil
Describe the feature you would like
When doing simulations against anvil, a lot of time gets spent calculating root hashes. As far as I understand this is a proof of correctness, and is useful when multiple nodes are talking to each other; however in a simulation environment these hashes aren't useful. The simulation tooling I've been testing with (Compass Labs) shows that commenting out the lines which calculate these root hashes speeds things up the entire simulation by roughly 25%.
I would like it if there was some way to configure anvil to not calculate these root hashes. This configuration option could be something like "skip_root_hashes", or something like "single_node_simulation_environment", in case there are further options that make sense only for a simulation environment.
I would be happy to make an attempt to write this feature if people think it's a good idea, and I get advise on how best to do the configuration option.
Additional context
No response
The text was updated successfully, but these errors were encountered: