Skip to content

WIP - #3834

Draft
pompon0 wants to merge 3 commits into
wen/autobahn_epoch_triofrom
gprusak/autobahn_epoch_trio
Draft

WIP#3834
pompon0 wants to merge 3 commits into
wen/autobahn_epoch_triofrom
gprusak/autobahn_epoch_trio

Conversation

@pompon0

@pompon0 pompon0 commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Draft proposal to change the layout of avail.State:

  • instead of epochDuo, we keep previous epoch in Anchor, and current in inner.
  • avail.State does NOT need to traverse through all the epochs - if a future anchor is received, it can jump to it as soon as data registry catches up.

Tests and code outside of avail/ was not updated yet. Persistence code (in particular PruneAnchor persistence) needs to be updated. Open questions:

  • an asymmetry has been introduced: anchor epoch is stored in consensus, but "current" epoch is not and we rely on data.Registry to provide it. Eventually we will need to clarify the contract between those.

@github-actions

github-actions Bot commented Jul 31, 2026

Copy link
Copy Markdown

The latest Buf updates on your PR. Results from workflow Buf / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedJul 31, 2026, 12:58 PM

@codecov

codecov Bot commented Jul 31, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.41%. Comparing base (a13b120) to head (80a11fa).

❗ There is a different number of reports uploaded between BASE (a13b120) and HEAD (80a11fa). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (a13b120) HEAD (80a11fa)
sei-chain-pr 1 0
Additional details and impacted files

Impacted file tree graph

@@                     Coverage Diff                     @@
##           wen/autobahn_epoch_trio    #3834      +/-   ##
===========================================================
- Coverage                    76.57%   70.41%   -6.17%     
===========================================================
  Files                           89        5      -84     
  Lines                         7799      463    -7336     
===========================================================
- Hits                          5972      326    -5646     
+ Misses                        1360      107    -1253     
+ Partials                       467       30     -437     
Flag Coverage Δ
sei-chain-pr ?
sei-db 70.41% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 84 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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