Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Prover] Prover node keeps track of how many blocks of an epoch were started prior to a crash #10266

Open
Tracked by #8495
alexghr opened this issue Nov 28, 2024 · 0 comments
Assignees

Comments

@alexghr
Copy link
Contributor

alexghr commented Nov 28, 2024

In #10265 we're changing the proving model such that the prover node can keep track of individual blocks in the current epoch. This will allow us to store the proving state and in the event of a crash resume partway through the epoch.

Previously this was impossible because the prover node was forking at the beginning of the epoch and had to sequentially process each block in order to arrive at the correct ending state. With #10265 we can start proving each block independently so we'd only need to figure which blocks of an epoch were not started.

This would also require the orchestrator to restore state: it can no longer use a cache to store intermediate proofs since it wouldn't re-request past proofs.

@alexghr alexghr changed the title store state of prover node such that in the event of a restart it knows how far along an epoch it was and only proves the missing blocks [Prover] Prover node keeps track of how many blocks of an epoch were started prior to a crash Nov 28, 2024
@alexghr alexghr self-assigned this Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant