Skip to content

[Chain Orchestrator] Improve UpdateFcsHead method to add L2 transactions to transaction pool #352

@frisitano

Description

@frisitano

Overview

Currently, we implement a relatively naive solution for the UpdateFcsHead rpc method. This involves two steps:

  1. We purge all mappings of L1 messages -> l2 blocks (effectively marking them suitable for inclusion in future blocks.
  2. Updating the head in the fork choice state.

@Thegaram proposed a more elegant solution in which we extract all L2 messages from the reverted chain and push them into the transaction pool such that they can be included in future blocks.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions