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

chore(revm): remove local thread for pipeline execution stage #5082

Merged
merged 1 commit into from
Oct 19, 2023

Conversation

rakita
Copy link
Collaborator

@rakita rakita commented Oct 19, 2023

revm requirements for stack were decremented here: bluealloy/revm#712
So a resized bigger stack is not needed.

This PR removes the resized local thread from the code.

@rakita rakita added C-debt Refactor of code section that is hard to understand or maintain A-execution Related to the Execution and EVM labels Oct 19, 2023
@rakita rakita requested a review from mattsse October 19, 2023 00:15
@codecov
Copy link

codecov bot commented Oct 19, 2023

Codecov Report

Merging #5082 (bfacc51) into main (c17c3cd) will increase coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

Files Coverage Δ
crates/stages/src/stages/execution.rs 92.28% <100.00%> (-0.11%) ⬇️

... and 4 files with indirect coverage changes

Flag Coverage Δ
integration-tests 17.07% <0.00%> (+<0.01%) ⬆️
unit-tests 62.40% <100.00%> (+0.02%) ⬆️

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

Components Coverage Δ
reth binary 30.90% <ø> (ø)
blockchain tree 80.82% <ø> (ø)
pipeline 88.36% <100.00%> (-0.02%) ⬇️
storage (db) 74.64% <ø> (ø)
trie 95.00% <ø> (ø)
txpool 55.76% <ø> (+0.43%) ⬆️
networking 78.19% <ø> (ø)
rpc 58.31% <ø> (ø)
consensus 63.01% <ø> (ø)
revm 28.73% <ø> (ø)
payload builder 7.95% <ø> (ø)
primitives 86.43% <ø> (+<0.01%) ⬆️

Copy link
Member

@rkrasiuk rkrasiuk left a comment

Choose a reason for hiding this comment

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

that's great

.expect("Expects that thread name is not null");
handle.join().expect("Expects for thread to not panic")
})
self.execute_inner(provider, input)
Copy link
Member

Choose a reason for hiding this comment

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

seems like we can merge execute & execute_inner now

@mattsse mattsse added this pull request to the merge queue Oct 19, 2023
Merged via the queue into main with commit 0aeb0b6 Oct 19, 2023
@mattsse mattsse deleted the rakita/rm_pipeline_exec_stack_resize branch October 19, 2023 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-execution Related to the Execution and EVM C-debt Refactor of code section that is hard to understand or maintain
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants