Skip to content

Onchain Flashtestation Verification #48

@Melvillian

Description

@Melvillian

Currently there is no way for a smart contract to verify that the current block is built by a fair-ordering block builder. This is because the flashtestation transaction is placed bottom of block (i.e. the last transaction in the block) so that it can commit to a hash of all the block's transactions (minus itself) in the event it emits for offchain verifiers.

But, there are alternative designs for the flashtestation transaction that break it up into multiple transactions, one at top of block so smart contracts can verify, and then one at the end that commits to a hash of the block's transactions (minus itself).

@Ruteri had written up a doc discussing different options for how to do this, so we should consult that, decide on a design, and implement it

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions