-
Notifications
You must be signed in to change notification settings - Fork 1
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
implement basic state aggregation #155
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
solarkraft/src/aggregate.ts
Outdated
*/ | ||
/** | ||
* A command to aggregate the full contract state from the collected transactions. | ||
* This command is potentially expensive. In the long run, it makes sense to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we could say why it is expensive?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep, added an explanation
Co-authored-by: Thomas Pani <[email protected]>
Co-authored-by: Thomas Pani <[email protected]>
Closes #153. This PR implements basic state aggregation. It's probably the most straightforward approach. We need this for input generation. I believe that a high-performance approach would require much more work, which we do not have in this phase.