Skip to content

Cache participating balances from unrealized finality computation#8216

Open
etan-status wants to merge 6 commits intounstablefrom
dev/etan/ep-participatingcache
Open

Cache participating balances from unrealized finality computation#8216
etan-status wants to merge 6 commits intounstablefrom
dev/etan/ep-participatingcache

Conversation

@etan-status
Copy link
Copy Markdown
Contributor

When block is received, we have to run a partial epoch transition to obtain unrealized finality checkpoints. As part of this, participating balances info is computed. Later, when the epoch transition triggers, we compute the participating balances a second time, on the same data. Add a small cache for that to save ~10ms of epoch processing time.

When block is received, we have to run a partial epoch transition to
obtain unrealized finality checkpoints. As part of this, participating
balances info is computed. Later, when the epoch transition triggers,
we compute the participating balances a second time, on the same data.
Add a small cache for that to save ~10ms of epoch processing time.
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 2, 2026

Unit Test Results

       12 files  ±0    2 504 suites  ±0   53m 18s ⏱️ + 1m 56s
13 053 tests ±0  12 506 ✔️ ±0  547 💤 ±0  0 ±0 
66 068 runs  ±0  65 358 ✔️ ±0  710 💤 ±0  0 ±0 

Results for commit 94ba508. ± Comparison against base commit b61abf9.

♻️ This comment has been updated with latest results.

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

Successfully merging this pull request may close these issues.

1 participant