Skip to content

refactor(consensus): remove noop code#1578

Open
jansegre wants to merge 1 commit intomasterfrom
refactor/remove-noop-code
Open

refactor(consensus): remove noop code#1578
jansegre wants to merge 1 commit intomasterfrom
refactor/remove-noop-code

Conversation

@jansegre
Copy link
Copy Markdown
Member

Motivation

This code has been found to be no-op and non-essential.

Acceptance Criteria

  • Remove code that will never run.

Checklist

  • If you are requesting a merge into master, confirm this code is production-ready and can be included in future releases as soon as it gets merged

@jansegre jansegre requested review from glevco and msbrogli January 27, 2026 15:02
@jansegre jansegre self-assigned this Jan 27, 2026
@jansegre jansegre moved this from Todo to In Progress (Done) in Hathor Network Jan 27, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 27, 2026

🐰 Bencher Report

Branchrefactor/remove-noop-code
Testbedubuntu-22.04
Click to view all benchmark results
BenchmarkLatencyBenchmark Result
minutes (m)
(Result Δ%)
Lower Boundary
minutes (m)
(Limit %)
Upper Boundary
minutes (m)
(Limit %)
sync-v2 (up to 20000 blocks)📈 view plot
🚷 view threshold
1.57 m
(-7.87%)Baseline: 1.71 m
1.54 m
(97.69%)
2.05 m
(76.78%)
🐰 View full continuous benchmarking report in Bencher

@jansegre jansegre force-pushed the refactor/remove-noop-code branch from ccefd5f to a198839 Compare January 27, 2026 15:17
@codecov
Copy link
Copy Markdown

codecov bot commented Jan 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.34%. Comparing base (2d949c7) to head (7d19bb9).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1578      +/-   ##
==========================================
- Coverage   85.42%   85.34%   -0.08%     
==========================================
  Files         464      464              
  Lines       31203    31196       -7     
  Branches     4735     4732       -3     
==========================================
- Hits        26654    26625      -29     
- Misses       3639     3657      +18     
- Partials      910      914       +4     
Flag Coverage Δ
test-lib 85.34% <ø> (-0.07%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@jansegre jansegre moved this from In Progress (Done) to In Review (WIP) in Hathor Network Jan 27, 2026
@jansegre jansegre force-pushed the refactor/remove-noop-code branch from a198839 to 796e015 Compare February 6, 2026 16:56
@msbrogli msbrogli force-pushed the master branch 2 times, most recently from eb416fa to 21d7909 Compare February 12, 2026 23:12
@jansegre jansegre force-pushed the refactor/remove-noop-code branch from 796e015 to df66905 Compare February 18, 2026 16:39
@jansegre jansegre force-pushed the refactor/remove-noop-code branch from df66905 to 7d19bb9 Compare March 19, 2026 14:54
Copy link
Copy Markdown
Contributor

@glevco glevco Mar 19, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm ready to approve this, but before, @msbrogli can you take a look at this comment?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Review (WIP)

Development

Successfully merging this pull request may close these issues.

3 participants