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

Resolve forks created by different transactions updating the same account #1139

Open
PhilippGackstatter opened this issue Feb 11, 2025 · 0 comments
Labels
kernels Related to transaction, batch, or block kernels

Comments

@PhilippGackstatter
Copy link
Contributor

Resolve forks created by different transactions updating the same account.

If we have two batches that update the same account from the same initial state A but one batch updates it to B and another updates it to C, then this is a fork in the account state.
Currently, the block kernel errors in this scenario but eventually we should resolve the conflict and choose one of the transaction chains that is accepted as the new state.

Reference:

At some point in the future, we may need to resolve such conflicts differently. That is, if there is a conflict, we'd drop one of the transaction chains (e.g., the transaction which resulted in A -> F and all of its descendants). This won't happen until we have decentralized batch production, but still let's create an issue for this.

From: #1123 (comment)

@bobbinth bobbinth added the kernels Related to transaction, batch, or block kernels label Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kernels Related to transaction, batch, or block kernels
Projects
None yet
Development

No branches or pull requests

2 participants