sbtc-developer-release
sbtc-developer-release copied to clipboard
remove panic on unexpected number of Stacks statuses updated
just removes the panic when the server is restarted and it processes all the previous mints and burns
After spinning up a node with this change i get lots of logging like this...
2023-10-28T15:37:38.671959Z DEBUG update: romeo::state: Ignoring Broadcasted status update for a Stacks transaction that is not acknowledged: 0000000000000000000000000000000000000000000000000000000000000000 event=StacksTransactionUpdate(0000000000000000000000000000000000000000000000000000000000000000, Broadcasted)
2023-10-28T15:37:38.672003Z DEBUG update: romeo::state: Igno anring Broadcasted status update for a Stacks transaction that doesn't have a pending task: 0000000000000000000000000000000000000000000000000000000000000000 event=StacksTransactionUpdate(0000000000000000000000000000000000000000000000000000000000000000, Broadcasted)
2023-10-28T15:37:38.672047Z DEBUG update: romeo::state: Igno anring Broadcasted status update for a Stacks transaction that doesn't have a pending task: 0000000000000000000000000000000000000000000000000000000000000000 event=StacksTransactionUpdate(0000000000000000000000000000000000000000000000000000000000000000, Broadcasted)
2023-10-28T15:37:38.672091Z DEBUG update: romeo::state: Igno anring Broadcasted status update for a Stacks transaction that doesn't have a pending task: 0000000000000000000000000000000000000000000000000000000000000000 event=StacksTransactionUpdate(0000000000000000000000000000000000000000000000000000000000000000, Broadcasted)
2023-10-28T15:37:38.672136Z DEBUG update: romeo::state: Igno anring Broadcasted status update for a Stacks transaction that doesn't have a pending task: 0000000000000000000000000000000000000000000000000000000000000000 event=StacksTransactionUpdate(0000000000000000000000000000000000000000000000000000000000000000, Broadcasted)
2023-10-28T15:37:38.672180Z DEBUG update: romeo::state: Igno anring Broadcasted status update for a Stacks transaction that doesn't have a pending task: 0000000000000000000000000000000000000000000000000000000000000000 event=StacksTransactionUpdate(0000000000000000000000000000000000000000000000000000000000000000, Broadcasted)
While this cures the symptom, I think the problem is elsewhere.
I have a fix, but it unravels other issues. I'm waiting a bit longer until I can put the case together.