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

Refactor Blockchain to use Snapshots #266

Open
Tracked by #241
DylanTinianov opened this issue May 15, 2023 · 0 comments
Open
Tracked by #241

Refactor Blockchain to use Snapshots #266

DylanTinianov opened this issue May 15, 2023 · 0 comments
Assignees
Labels
feature A new user feature or a new package API

Comments

@DylanTinianov
Copy link
Contributor

DylanTinianov commented May 15, 2023

Using snapshots would enable us to implement features such as viewing and moving between blockchain history as well as undo/redo functionality. Snapshots would also simplify the code in multiple places. We would only have to store snapshots in the database instead of individual transaction executions, contract deployments, etc. Moreover, snapshots should be used for blockchain rollback as well as rebuilding the state which will provide a cleaner implementation.

@DylanTinianov DylanTinianov added the feature A new user feature or a new package API label May 15, 2023
@DylanTinianov DylanTinianov self-assigned this May 15, 2023
@DylanTinianov DylanTinianov changed the title Refactor Blockchain Rollback to use Snapshots Refactor Blockchain to use Snapshots May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new user feature or a new package API
Projects
None yet
Development

No branches or pull requests

1 participant