sbtc-developer-release icon indicating copy to clipboard operation
sbtc-developer-release copied to clipboard

remove panic on unexpected number of Stacks statuses updated

Open radicleart opened this issue 1 year ago • 4 comments

just removes the panic when the server is restarted and it processes all the previous mints and burns

radicleart avatar Oct 28 '23 14:10 radicleart

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)

radicleart avatar Oct 28 '23 15:10 radicleart

While this cures the symptom, I think the problem is elsewhere.

friedger avatar Oct 28 '23 20:10 friedger

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Nov 16 '23 06:11 CLAassistant

I have a fix, but it unravels other issues. I'm waiting a bit longer until I can put the case together.

CAGS295 avatar Nov 17 '23 06:11 CAGS295