Skip to content

Test reorg logic #174

@meyer9

Description

@meyer9

Describe the feature

If the chain reorgs and removes some blocks that we have already stored, we should:

  • remove the changesets that were reorged out
  • reapply the changesets that were reorged in

Testing should check:

  • reorg where 3 blocks removed and 1 block added
  • reorg where 1 block removed and 1 block added

Additional context

No response

Metadata

Metadata

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions