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

feat(protocol): allows assigned prover to do more #16689

Merged
merged 5 commits into from
Apr 8, 2024

Conversation

dantaik
Copy link
Contributor

@dantaik dantaik commented Apr 8, 2024

Previously, the assigned prover can only submit the very first proof (to create the verify first transition) within the proving window. It is disallowed to contest/prove blocks in any other situations.

This PR enables the assigned prover to perform actions that all other address can. This means if the assigned prover submits a valid proof right after the proving window expires, its proof will be accepted, but its liveness bond won't be returned.

This PR also introduce a struct to cache state variables.

@dantaik dantaik marked this pull request as ready for review April 8, 2024 04:44
Copy link

openzeppelin-code bot commented Apr 8, 2024

feat(protocol): allows assigned prover to do more

Generated at commit: 0a7e3303364ac8b5a785b382879704d36ebbe671

🚨 Report Summary

Severity Level Results
Contracts Critical
High
Medium
Low
Note
Total
2
2
0
3
39
46
Dependencies Critical
High
Medium
Low
Note
Total
0
0
0
0
0
0

For more details view the full report in OpenZeppelin Code Inspector

@dantaik dantaik merged commit d6dfcaf into fix_protocol_issue Apr 8, 2024
5 checks passed
@dantaik dantaik deleted the relax_assigned_prover_req_0 branch April 8, 2024 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants