fix: reduce repetitive code in enum match blocks #6453
Merged
Codecov / codecov/project
succeeded
Jan 23, 2026 in 0s
59.47% (+0.05%) compared to 26757f5
View this Pull Request on Codecov
59.47% (+0.05%) compared to 26757f5
Details
Codecov Report
❌ Patch coverage is 20.00000% with 28 lines in your changes missing coverage. Please review.
✅ Project coverage is 59.47%. Comparing base (26757f5) to head (f060b73).
| Files with missing lines | Patch % | Lines |
|---|---|---|
| src/shim/actors/builtin/miner/mod.rs | 6.89% | 18 Missing and 9 partials |
| src/interpreter/mod.rs | 0.00% | 1 Missing |
Additional details and impacted files
| Files with missing lines | Coverage Δ | |
|---|---|---|
| src/interpreter/vm.rs | 79.34% <100.00%> (+0.70%) |
⬆️ |
| src/lotus_json/actors/states/account_state.rs | 100.00% <100.00%> (ø) |
|
| src/shim/actors/builtin/account/mod.rs | 100.00% <100.00%> (+37.50%) |
⬆️ |
| src/shim/state_tree.rs | 57.23% <100.00%> (ø) |
|
| src/interpreter/mod.rs | 0.00% <0.00%> (ø) |
|
| src/shim/actors/builtin/miner/mod.rs | 15.06% <6.89%> (-0.43%) |
⬇️ |
... and 6 files with indirect coverage changes
Continue to review full report in Codecov by Sentry.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered by Codecov. Last update 26757f5...f060b73. Read the comment docs.
🚀 New features to boost your workflow:
- ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
Loading