Skip to content

Feature/consensus/ breaking#998

Merged
Mododo merged 11 commits intomasterfrom
feature/consensus/cert-depth
Feb 27, 2026
Merged

Feature/consensus/ breaking#998
Mododo merged 11 commits intomasterfrom
feature/consensus/cert-depth

Conversation

@Mododo
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown

codecov Bot commented Jan 15, 2026

Codecov Report

❌ Patch coverage is 44.45755% with 1413 lines in your changes missing coverage. Please review.
✅ Project coverage is 54.70%. Comparing base (f7f5480) to head (a932741).
⚠️ Report is 12 commits behind head on master.

Files with missing lines Patch % Lines
consensus/src/dag/verifier.rs 30.14% 181 Missing and 16 partials ⚠️
consensus/src/storage/store.rs 1.15% 171 Missing ⚠️
consensus/src/dag/dag_point_future.rs 24.77% 166 Missing and 4 partials ⚠️
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 69.80% 51 Missing and 26 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.47%   54.70%   +0.22%     
==========================================
  Files         403      414      +11     
  Lines       68046    69342    +1296     
  Branches    68046    69342    +1296     
==========================================
+ Hits        37066    37931     +865     
- Misses      29120    29475     +355     
- Partials     1860     1936      +76     

☔ 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 5 times, most recently from af6c94e to e8510d2 Compare February 20, 2026 16:38
@Mododo Mododo force-pushed the feature/consensus/cert-depth branch 3 times, most recently from 2d6bc2d to 131a48f Compare February 25, 2026 16:35
* 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 2 times, most recently from deaadf1 to 920bf87 Compare February 26, 2026 11:04
* validate local point during store
* 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 2 times, most recently from c498466 to 751837d Compare February 26, 2026 21:53
* simplify status type byte definition
* test for what `FixHistoryFlag(true)` keeps
@Mododo Mododo force-pushed the feature/consensus/cert-depth branch from 751837d to a932741 Compare February 26, 2026 22:10
@Mododo Mododo added this pull request to the merge queue Feb 27, 2026
Merged via the queue into master with commit 3f2a6f5 Feb 27, 2026
22 of 23 checks passed
@Mododo Mododo deleted the feature/consensus/cert-depth branch February 27, 2026 19:48
@Mododo Mododo mentioned this pull request Mar 2, 2026
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.

3 participants