Skip to content

Prevent MEL node startup if have non-MEL entries in ConsensusDB#4449

Open
ganeshvanahalli wants to merge 2 commits intoraul/mel-pr3-corefrom
verify-consensusdb-startingonMEL
Open

Prevent MEL node startup if have non-MEL entries in ConsensusDB#4449
ganeshvanahalli wants to merge 2 commits intoraul/mel-pr3-corefrom
verify-consensusdb-startingonMEL

Conversation

@ganeshvanahalli
Copy link
Contributor

This PR makes it that If the inbox tracker / reader have DB values (meaning a node was started in non-MEL mode), we should error on startup if we enable the MEL flag.

Resolves NIT-4571

Copy link
Contributor

@bragaigor bragaigor left a comment

Choose a reason for hiding this comment

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

LGTM, just a few minor comments

@github-actions
Copy link
Contributor

github-actions bot commented Mar 2, 2026

❌ 7 Tests Failed:

Tests completed Failed Passed Skipped
2964 7 2957 0
View the top 3 failed tests by shortest run time
TestMain
Stack Traces | 0.000s run time
FAIL	github.com/offchainlabs/nitro/system_tests [build failed]
FAIL	github.com/offchainlabs/nitro/system_tests [build failed]
TestMain
Stack Traces | 0.000s run time
FAIL	github.com/offchainlabs/nitro/system_tests [build failed]
FAIL	github.com/offchainlabs/nitro/system_tests [build failed]
TestMain
Stack Traces | 0.000s run time
FAIL	github.com/offchainlabs/nitro/system_tests [build failed]
FAIL	github.com/offchainlabs/nitro/system_tests [build failed]

📣 Thoughts on this report? Let Codecov know! | Powered by Codecov

@codecov
Copy link

codecov bot commented Mar 3, 2026

Codecov Report

❌ Patch coverage is 5.88235% with 32 lines in your changes missing coverage. Please review.
✅ Project coverage is 29.15%. Comparing base (a9a2799) to head (ebadcef).
⚠️ Report is 2 commits behind head on raul/mel-pr3-core.

Additional details and impacted files
@@                  Coverage Diff                  @@
##           raul/mel-pr3-core    #4449      +/-   ##
=====================================================
- Coverage              29.19%   29.15%   -0.04%     
=====================================================
  Files                    493      493              
  Lines                  58577    58608      +31     
=====================================================
- Hits                   17099    17087      -12     
- Misses                 38374    38414      +40     
- Partials                3104     3107       +3     

Copy link
Contributor

@bragaigor bragaigor left a comment

Choose a reason for hiding this comment

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

LGTM

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