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

[sBTC DR] StacksTransactionUpdate event processed too often #328

Open
friedger opened this issue Oct 27, 2023 · 2 comments · May be fixed by #415
Open

[sBTC DR] StacksTransactionUpdate event processed too often #328

friedger opened this issue Oct 27, 2023 · 2 comments · May be fixed by #415
Assignees
Labels
bug Something isn't working

Comments

@friedger
Copy link
Collaborator

Expected Behavior

Each event should be handled only once

Actual Behavior

2023-10-27T06:24:15.913047Z  INFO update: romeo::state: Processing event=StacksTransactionUpdate(0c6d2636b8e5b92a640b6b8fbf59efa7e6e580ea4eb47bd21c09f291059aeb4b, Broadcasted)
2023-10-27T06:24:15.913121Z DEBUG update: romeo::state: Ignoring Broadcasted status update for a Stacks transaction that is not acknowledged: 0c6d2636b8e5b92a640b6b8fbf59efa7e6e580ea4eb47bd21c09f291059aeb4b event=StacksTransactionUpdate(0c6d2636b8e5b92a640b6b8fbf59efa7e6e580ea4eb47bd21c09f291059aeb4b, Broadcasted)
2023-10-27T06:24:15.913148Z DEBUG update: romeo::state: Ignoring Broadcasted status update for a Stacks transaction that is not acknowledged: 0c6d2636b8e5b92a640b6b8fbf59efa7e6e580ea4eb47bd21c09f291059aeb4b event=StacksTransactionUpdate(0c6d2636b8e5b92a640b6b8fbf59efa7e6e580ea4eb47bd21c09f291059aeb4b, Broadcasted)
2023-10-27T06:24:15.913166Z DEBUG update: romeo::state: Ignoring Broadcasted status update for a Stacks transaction that is not acknowledged: 0c6d2636b8e5b92a640b6b8fbf59efa7e6e580ea4eb47bd21c09f291059aeb4b event=StacksTransactionUpdate(0c6d2636b8e5b92a640b6b8fbf59efa7e6e580ea4eb47bd21c09f291059aeb4b, Broadcasted)
2023-10-27T06:24:15.913184Z DEBUG update: romeo::state: Ignoring Broadcasted status update for a Stacks transaction that is not acknowledged: 0c6d2636b8e5b92a640b6b8fbf59efa7e6e580ea4eb47bd21c09f291059aeb4b event=StacksTransactionUpdate(0c6d2636b8e5b92a640b6b8fbf59efa7e6e580ea4eb47bd21c09f291059aeb4b, Broadcasted)
2023-10-27T06:24:15.913203Z DEBUG update: romeo::state: Ignoring Broadcasted status update for a Stacks transaction that is not acknowledged: 0c6d2636b8e5b92a640b6b8fbf59efa7e6e580ea4eb47bd21c09f291059aeb4b event=StacksTransactionUpdate(0c6d2636b8e5b92a640b6b8fbf59efa7e6e580ea4eb47bd21c09f291059aeb4b, Broadcasted)

Steps to Reproduce

Let romeo run for a few hours and do some deposits and withdrawals

@radicleart
Copy link
Collaborator

radicleart commented Oct 28, 2023

with the panic removed (#333 ) and after restarting and indexing from the previous contract i see a lot of these lines in the log;

2023-10-28T15:53:03.882353Z DEBUG update: romeo::state: Ignoring Broadcasted status update for a Stacks transaction that is not acknowledged: 0000000000000000000000000000000000000000000000000000000000000000 event=StacksTransactionUpdate(0000000000000000000000000000000000000000000000000000000000000000, Broadcasted)

@stjepangolemac
Copy link
Contributor

Hm, this is definitely a regression as I've never seen this behavior before. I'll look into it.

@CAGS295 CAGS295 self-assigned this Nov 17, 2023
@CAGS295 CAGS295 linked a pull request Nov 28, 2023 that will close this issue
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
Status: Triage
Development

Successfully merging a pull request may close this issue.

5 participants