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

research: possible concurrency issue involving wait_for_commit variable #42

Open
aubrika opened this issue Aug 7, 2024 · 0 comments
Open
Labels
bug Something isn't working p_V2

Comments

@aubrika
Copy link

aubrika commented Aug 7, 2024

During relayer debugging, we have seen a few instances of the nullifier XXX already spent in YYY error, indicating that the planner is trying to spend the same notes in different transactions. This seems to be an issue where build_penumbra_tx is called more than once, which has usually not been the case, as the observed volume has been able to process within a single transaction. This indicates that there may be an issue at scale and this should be ruled out - appropriate usage of wait_for_commit should be audited and confirmed.

@aubrika aubrika added bug Something isn't working p_V2 labels Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working p_V2
Projects
None yet
Development

No branches or pull requests

1 participant