Skip to content

Conversation

@DeVikingMark
Copy link
Contributor

Description

Fixes incorrect conversion of CanonStateNotification::Reorg to ExExNotification. When the new chain is empty (indicating a revert), the conversion now correctly creates ChainReverted instead of ChainReorged.

Changes

  • Added empty chain check in From<CanonStateNotification> implementation
  • Reorg with empty new chain now converts to ChainReverted
  • Reorg with non-empty new chain continues to convert to ChainReorged

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

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant