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

chore(protocol): give more slots for verified blocks in ring buffer #17762

Merged
merged 13 commits into from
Jul 11, 2024

Conversation

dantaik
Copy link
Contributor

@dantaik dantaik commented Jul 7, 2024

Previous, we only keep the last 512 verified block's data in the ring buffer. This may be problematic if a third party app, such as a prover pool, tries to settle prover-proposer payments based on who actually proved the blocks.

This PR allows up to 7200 * 5 = 36000 recently verified blocks to have data in the ring buffer.

@dantaik dantaik marked this pull request as ready for review July 7, 2024 08:25
@dantaik dantaik enabled auto-merge July 7, 2024 08:25
Copy link

openzeppelin-code bot commented Jul 7, 2024

chore(protocol): give more slots for verified blocks in ring buffer

Generated at commit: dedde2d50d0105ae0912123dbfdc0e827ba26243

🚨 Report Summary

Severity Level Results
Contracts Critical
High
Medium
Low
Note
Total
2
2
0
8
41
53
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 requested a review from adaki2004 July 7, 2024 12:44
@dantaik dantaik added this pull request to the merge queue Jul 11, 2024
Merged via the queue into main with commit 8d6d489 Jul 11, 2024
6 checks passed
@dantaik dantaik deleted the more_room_for_verified_blocks branch July 11, 2024 02: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.

4 participants