You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All of our logic is supposed to be reorg aware. In particular, if there is a reorg on bitcoin, we are supposed to be able to recover pretty seamlessly; picking up the right signer UTXO and re-minting any deposits that have been orphaned due to the reorg. Although we have some tests for this, most of them are not end-to-end tests. This ticket is to add them
1.1 Context & Purpose
We want to add more confidence that things will go smoothly in the event of a bitcoin reorg that affects the signers’ UTXO or a deposit.
2. Technical Details:
Add integration tests that use the invalidateblock and reconsiderblock RPCs on bitcoin core to test end-to-end handling of reorgs.
2.1 Acceptance Criteria:
We have more end-to-end tests that check that we handle things correctly in the event of a reorg on bitcoin.
3. Related Issues and Pull Requests (optional):
4. Appendix
A great test would also incorporate how we handle the Stacks side of things in addition to the bitcoin side of things. Alas, this would take quite a bit of work to do because of the difficulty of running a stacks node in a regtest environment.
The text was updated successfully, but these errors were encountered:
Feature - Add bitcoin reorg integration tests
1. Description
All of our logic is supposed to be reorg aware. In particular, if there is a reorg on bitcoin, we are supposed to be able to recover pretty seamlessly; picking up the right signer UTXO and re-minting any deposits that have been orphaned due to the reorg. Although we have some tests for this, most of them are not end-to-end tests. This ticket is to add them
1.1 Context & Purpose
We want to add more confidence that things will go smoothly in the event of a bitcoin reorg that affects the signers’ UTXO or a deposit.
2. Technical Details:
Add integration tests that use the
invalidateblock
andreconsiderblock
RPCs on bitcoin core to test end-to-end handling of reorgs.2.1 Acceptance Criteria:
3. Related Issues and Pull Requests (optional):
4. Appendix
A great test would also incorporate how we handle the Stacks side of things in addition to the bitcoin side of things. Alas, this would take quite a bit of work to do because of the difficulty of running a stacks node in a regtest environment.
The text was updated successfully, but these errors were encountered: