Skip to content

Add tests for live collector #170

@meyer9

Description

@meyer9

Describe the feature

We should create a testing framework where we can start the ExEx with on a node with a bit of state, then try processing a few blocks, and proving a few accounts on each block, ensuring that the proofs validate to the state root of the block.

This requires us to have ExternalTrieCursor and ExternalHashedCursor implemented.

We can use existing ExEx tests as an example to implement these: https://github.com/paradigmxyz/reth-exex-examples/blob/0260e15cc064a67ebb8a108362210e55e52721f3/minimal/src/main.rs#L62

Additional context

No response

Metadata

Metadata

Assignees

Labels

A-exexArea: execution extensionK-testKind: testW-historical-proofsWorkstream: historical-proofs

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions