Skip to content

Feat: FlashblocksBundle as a specialized FlashbotsBundle #8

@julio4

Description

@julio4

FlashblocksBundle in flashblocks and FlashbotsBundle in dependency rblib share lots of same logic.

It would be nice to define FlashblocksBundle as a specialized implementation of FlashbotsBundle, i.e. FlashblocksBundle = FlashbotsBundle<Flashblocks>

There are slight differences such as single target block number / min_block_number and max_block_number.
If necessary we could make FlashbotsBundle more generic as a trait with some default impl, provide a FlashbotsEthBundle in rblib (same as current FlashbotsBundle), and be able to easily implement FlashblocksBundle here. It could make support of different bundle versions easier. In that case we can move this issue to rblib.

Metadata

Metadata

Assignees

No one assigned

    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