Skip to content

Comments

Feature/consensus/ breaking#998

Open
Mododo wants to merge 10 commits intomasterfrom
feature/consensus/cert-depth
Open

Feature/consensus/ breaking#998
Mododo wants to merge 10 commits intomasterfrom
feature/consensus/cert-depth

Conversation

@Mododo
Copy link
Member

@Mododo Mododo commented Jan 15, 2026

Pull Request Checklist

NODE CONFIGURATION MODEL CHANGES

None

BLOCKCHAIN CONFIGURATION MODEL CHANGES

None


COMPATIBILITY

Affected features:

  • [Mempool. Validation rules]
  • [Mempool. Storage]
  • [Mempool. API tl models]

SPECIAL DEPLOYMENT ACTIONS

Apply new mempool genesis in GlobalConfig


TESTS

Unit Tests

Added behavioral unit tests

Network Tests

No coverage

Manual Tests

transfers-30k


Notes/Additional Comments:

Requires prior merge of #1016

@github-actions
Copy link

github-actions bot commented Jan 15, 2026

🧪 Network Tests

To run network tests for this PR, use:

gh workflow run network-tests.yml -f pr_number=998

Available test options:

  • Run all tests: gh workflow run network-tests.yml -f pr_number=998
  • Run specific test: gh workflow run network-tests.yml -f pr_number=998 -f test_selection=ping-pong

Test types: destroyable, ping-pong, one-to-many-internal-messages, fq-deploy, nft-index, persistent-sync

Results will be posted as workflow runs in the Actions tab.

@Mododo Mododo requested review from 0xdeafbeef and Rexagon January 15, 2026 11:13
@codecov
Copy link

codecov bot commented Jan 15, 2026

Codecov Report

❌ Patch coverage is 45.15455% with 1313 lines in your changes missing coverage. Please review.
✅ Project coverage is 54.57%. Comparing base (e61ece1) to head (e8510d2).

Files with missing lines Patch % Lines
consensus/src/dag/verifier.rs 30.24% 180 Missing and 16 partials ⚠️
consensus/src/dag/dag_point_future.rs 25.00% 138 Missing and 3 partials ⚠️
consensus/src/storage/store.rs 1.69% 116 Missing ⚠️
consensus/src/storage/adapter_store.rs 0.00% 102 Missing ⚠️
consensus/src/models/point_restore.rs 0.00% 85 Missing ⚠️
consensus/src/models/point_status/all_stored.rs 65.47% 53 Missing and 24 partials ⚠️
consensus/src/dag/producer.rs 0.00% 68 Missing ⚠️
consensus/src/models/dag_point.rs 29.21% 63 Missing ⚠️
collator/src/mempool/impls/common/shuttle.rs 0.00% 51 Missing ⚠️
collator/src/mempool/impls/dump_anchors.rs 0.00% 39 Missing ⚠️
... and 32 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #998      +/-   ##
==========================================
+ Coverage   54.32%   54.57%   +0.25%     
==========================================
  Files         403      414      +11     
  Lines       67754    68898    +1144     
  Branches    67754    68898    +1144     
==========================================
+ Hits        36809    37604     +795     
- Misses      29123    29393     +270     
- Partials     1822     1901      +79     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 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.

@Mododo Mododo enabled auto-merge January 15, 2026 11:30
@Mododo Mododo self-assigned this Jan 15, 2026
@Mododo Mododo added this to the 020 Consensus milestone Jan 15, 2026
@Mododo Mododo force-pushed the feature/consensus/cert-depth branch 5 times, most recently from 7a0e364 to a9fe0cc Compare January 16, 2026 14:37
@Mododo Mododo disabled auto-merge January 18, 2026 17:13
@Mododo Mododo marked this pull request as draft January 19, 2026 07:58
@Mododo Mododo force-pushed the feature/consensus/cert-depth branch from b43a262 to 1fc6da5 Compare February 9, 2026 12:57
@Mododo Mododo changed the title Feature/consensus/ limit cert depth to commit length Feature/consensus/ breaking Feb 9, 2026
@Mododo Mododo marked this pull request as ready for review February 9, 2026 13:08
@Mododo Mododo force-pushed the feature/consensus/cert-depth branch from 1fc6da5 to 28da0a1 Compare February 19, 2026 11:49
evidences certify the point and `commit_history_depth` rounds of its dependencies
also fix `PeerId` in tl scheme
* separate status for commit attributes
* store `has_proof` flag when it's known
* less alloc in `set_status()`
* separate valid and invalid point statuses
* make commit an attribute of cert
* `committable` view of dag point
change leader every 3 rounds instead of 4
* contiguity check for new wave len
* support unrecoverable gaps
@Mododo Mododo force-pushed the feature/consensus/cert-depth branch 3 times, most recently from d1d0035 to af6c94e Compare February 20, 2026 13:34
* validate local point during store
* don't store final status for local point
* separate error for bad evidence signs
* separate terminal ill-formed reasons
* don't store first_resolved flag
* fix history keeps final-ill-formed and first-valid statuses
* don't repeat fix history with the same TKA
@Mododo Mododo force-pushed the feature/consensus/cert-depth branch from af6c94e to e8510d2 Compare February 20, 2026 16:38
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