forked from paradigmxyz/reth
-
Notifications
You must be signed in to change notification settings - Fork 10
Add tests for live collector #170
Copy link
Copy link
Closed
Labels
A-exexArea: execution extensionArea: execution extensionK-testKind: testKind: testW-historical-proofsWorkstream: historical-proofsWorkstream: historical-proofs
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-exexArea: execution extensionArea: execution extensionK-testKind: testKind: testW-historical-proofsWorkstream: historical-proofsWorkstream: historical-proofs
Type
Projects
Status
Done