Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(interfaces): Result -> RethResult, Error -> RethError #4695

Merged
merged 2 commits into from
Sep 20, 2023

Conversation

shekhirin
Copy link
Collaborator

@shekhirin shekhirin commented Sep 20, 2023

QoL improvement allowing one just do RethResult instead of reth_interfaces::Result due to conflicts with std Result

@codecov
Copy link

codecov bot commented Sep 20, 2023

Codecov Report

Merging #4695 (0b805e8) into main (6016da7) will decrease coverage by 0.07%.
The diff coverage is 37.28%.

Impacted file tree graph

Files Changed Coverage Δ
bin/reth/src/init.rs 97.54% <ø> (ø)
bin/reth/src/node/mod.rs 26.11% <0.00%> (ø)
crates/consensus/beacon/src/engine/error.rs 33.33% <0.00%> (ø)
crates/consensus/beacon/src/engine/hooks/mod.rs 62.50% <ø> (ø)
crates/consensus/beacon/src/engine/hooks/prune.rs 87.01% <0.00%> (ø)
crates/consensus/beacon/src/engine/message.rs 38.46% <ø> (ø)
crates/interfaces/src/blockchain_tree/mod.rs 42.10% <ø> (ø)
crates/interfaces/src/error.rs 100.00% <ø> (ø)
crates/payload/basic/src/lib.rs 0.00% <0.00%> (ø)
crates/payload/builder/src/error.rs 0.00% <ø> (ø)
... and 47 more

... and 6 files with indirect coverage changes

Flag Coverage Δ
integration-tests 16.74% <8.64%> (-0.01%) ⬇️
unit-tests 63.33% <31.52%> (-0.06%) ⬇️

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

Components Coverage Δ
reth binary 32.17% <0.00%> (ø)
blockchain tree 83.75% <93.75%> (ø)
pipeline 88.53% <100.00%> (-0.01%) ⬇️
storage (db) 72.51% <33.07%> (-0.50%) ⬇️
trie 94.73% <100.00%> (-0.05%) ⬇️
txpool 49.91% <0.00%> (-0.02%) ⬇️
networking 77.12% <ø> (-0.05%) ⬇️
rpc 57.83% <59.09%> (+0.01%) ⬆️
consensus 63.22% <46.34%> (-0.03%) ⬇️
revm 28.24% <69.23%> (+0.07%) ⬆️
payload builder 8.45% <0.00%> (ø)
primitives 86.56% <33.33%> (ø)

@shekhirin shekhirin marked this pull request as ready for review September 20, 2023 19:34
Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

let's merge this asap because could cause conflicts

@mattsse mattsse added this pull request to the merge queue Sep 20, 2023
Merged via the queue into main with commit 0874767 Sep 20, 2023
22 checks passed
@mattsse mattsse deleted the alexey/reth-result branch September 20, 2023 21:24
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.

2 participants