Account Commitments - Issues and Improvements #117
Closed
GabrielePicco
started this conversation in
General
Replies: 1 comment
-
Closing as we now have an issue for this discussion |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Discussion
During our discussion, we identified cases where the atomicity of committed accounts could be compromised:
A
andB
)B
andC
)TX1 and TX2 are executed in the same slot.
Commit(A, B)
fails, whileCommit(B, C)
succeeds. This breaks the commitment atomicity of TX1, where B is committed, but A is not (as we currently commit the account state at the end of the slot).Discussed Solution
The discussed solution includes:
Outcomes
The current implementation handles the happy path and is currently good enough for standard client integration.
Participants
@thlorenz @crypto-vincent @GabrielePicco
Beta Was this translation helpful? Give feedback.
All reactions