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

Transaction APIs #515

Closed
kogeler opened this issue Sep 8, 2020 · 0 comments · Fixed by #547
Closed

Transaction APIs #515

kogeler opened this issue Sep 8, 2020 · 0 comments · Fixed by #547
Assignees
Labels

Comments

@kogeler
Copy link
Contributor

kogeler commented Sep 8, 2020

From spec:

ext_storage_start_transaction

Start a new nested transaction. This allows to either commit or roll back all changes that are made after this call. For every transaction there must be a matching call to either ext_storage_rollback_transaction (E.1.12) or ext_storage_commit_transaction (E.1.13). This is also eective for all values manipulated using the child storage API (E.2).

ext_storage_rollback_transaction

Rollback the last transaction started by ext_storage_start_transaction (E.1.11). Any changes made during that transaction are discarded.

ext_storage_commit_transaction
Commit the last transaction started by ext_storage_start_transaction (E.1.11). Any changes made during that transaction are committed to the main state.

Aha! Link: https://soramitsucoltd.aha.io/requirements/PRE-43-19

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

Successfully merging a pull request may close this issue.

3 participants