You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
alexghr
changed the title
prover node follows pending chain and proves each block of an epoch off a historic block (world state snapshot)
[Prover] Prover-Node follows pending chain and proves each block of an epoch off a historic block (world state snapshot)
Nov 28, 2024
Instead of processing blocks in sequencer during epoch proving and
trigger proving jobs as each block is processed, we fetch the state
prior to each block by forking off a world state following the pending
(not proven) chain and process each block (ie execute public functions)
in parallel. This means tx execution is less of a bottleneck for
proving.
Main change is that the epoch orchestrator now requires not a db, but
something that can return forks at given block numbers of the db. It
also means that the orchestrator accepts out-of-order operations for
block building, so multiple blocks can be started, and their txs added
in any order (though following the order within each block).
Builds on #10174Fixes#10265
Pending:
- Ensuring the state after processing each block matches what we had
used from world-state
No description provided.
The text was updated successfully, but these errors were encountered: