Skip to content

Conversation

@CHr15F0x
Copy link
Member

@CHr15F0x CHr15F0x commented Jan 22, 2026

Adds a regression test for rollback to batch.
The issue is triggered when the rollback is performed:

  • at H >= 10,
  • target_rollback_batch_idx > 0.

The minimal non-empty proposal that triggers the regression contains 3 batches of 1 transaction each, where the rollback is performed to batch 1 (counting from 0 ofc).

Ultimately the non-empty proposal fixture is supposed to be randomized but for the time being I'm overriding the params mentioned above.

BTW empty proposals don't work correctly because the empty block that stems from the empty proposal has no way of figuring out the correct timestamp so every now and then an empty proposal causes a non-ascending timestamp value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants