Skip to content

Conversation

@JoshdfG
Copy link

@JoshdfG JoshdfG commented Jan 6, 2026

Closes #517

@codecov
Copy link

codecov bot commented Jan 6, 2026

Codecov Report

❌ Patch coverage is 55.55556% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 36.68%. Comparing base (e11fd37) to head (15df7c2).

Files with missing lines Patch % Lines
crates/optimism/consensus/src/validation/mod.rs 25.00% 3 Missing ⚠️
crates/optimism/consensus/src/validation/jovian.rs 75.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

Files with missing lines Coverage Δ
crates/optimism/consensus/src/error.rs 0.00% <ø> (ø)
crates/optimism/consensus/src/lib.rs 59.18% <100.00%> (ø)
crates/optimism/consensus/src/validation/jovian.rs 73.33% <75.00%> (+1.90%) ⬆️
crates/optimism/consensus/src/validation/mod.rs 46.08% <25.00%> (ø)

... and 26 files with indirect coverage changes

Flag Coverage Δ
e2e 36.68% <55.55%> (+0.01%) ⬆️

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

Components Coverage Δ
reth binary 53.40% <ø> (ø)
op historical proof 76.81% <ø> (+0.08%) ⬆️
🚀 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.

Copy link
Member

@emhane emhane left a comment

Choose a reason for hiding this comment

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

awesome!

@JoshdfG JoshdfG requested a review from emhane January 7, 2026 13:34
@JoshdfG JoshdfG requested a review from emhane January 8, 2026 10:03
Copy link
Member

@emhane emhane left a comment

Choose a reason for hiding this comment

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

commits need to be cherrypicked onto latest unstable

@JoshdfG JoshdfG force-pushed the op-consensus-error-for-jovian branch from 678a107 to 05a209c Compare January 16, 2026 10:38
@wiz-b4c72f16a4
Copy link

wiz-b4c72f16a4 bot commented Jan 16, 2026

Wiz Scan Summary

Scanner Findings
Vulnerability Finding Vulnerabilities -
Data Finding Sensitive Data -
Secret Finding Secrets -
IaC Misconfiguration IaC Misconfigurations -
SAST Finding SAST Findings -
Software Management Finding Software Management Findings -
Total -

View scan details in Wiz

To detect these findings earlier in the dev lifecycle, try using Wiz Code VS Code Extension.

@JoshdfG JoshdfG force-pushed the op-consensus-error-for-jovian branch from 05a209c to 3db6318 Compare January 16, 2026 10:42
@JoshdfG JoshdfG requested a review from emhane January 16, 2026 10:43
Copy link
Member

@emhane emhane left a comment

Choose a reason for hiding this comment

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

nice! just some nitpicks

Comment on lines +126 to +129
return Err(OpConsensusError::Eth(ConsensusError::BlockGasUsed {
gas: GotExpected { got: cumulative_gas_used, expected: header.gas_used() },
gas_spent_by_tx: gas_spent_by_transactions(receipts),
})
}))
Copy link
Member

Choose a reason for hiding this comment

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

same here nitpick, i think this works

Err(ConsensusError::BlockGasUsed { ..etc })?

@JoshdfG JoshdfG requested a review from emhane January 16, 2026 15:03
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.

OpConsensusErrors for jovian

2 participants