Skip to content

Validate blocks that come from consensus #100

@mpaulucci

Description

@mpaulucci

We can spin up a localnet with Kurtosis and receive new execution blocks through the engine_newPayloadV3 endpoint.

After creating a Genesis block (see: #48)
and the ability to execute transactions (#21), the next step is to be able to validate transactions that come through the engine_newPayloadV3 method.

So the steps would be:

  • Set the genesis block as the head of the chain. Create the initial world state.
  • Receive a new execution block. Run transactions through the rEVM.
  • Update the world state and compare the state root with the one specified in the block header.
  • If state root is valid, set the new block as the head of the chain.
  • Wait for a new execution block and repeat.

Maybe this issue can be split into smaller issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions