Skip to content

fix: apply state overrides once#4313

Merged
mattsse merged 1 commit intomainfrom
matt/apply-state-overrides-once
Aug 22, 2023
Merged

fix: apply state overrides once#4313
mattsse merged 1 commit intomainfrom
matt/apply-state-overrides-once

Conversation

@mattsse
Copy link
Collaborator

@mattsse mattsse commented Aug 22, 2023

closes #4308

apply state overrides only once per request

@mattsse mattsse requested a review from Rjected as a code owner August 22, 2023 13:22
@mattsse mattsse added C-bug An unexpected or incorrect behavior A-rpc Related to the RPC implementation labels Aug 22, 2023
@codecov
Copy link

codecov bot commented Aug 22, 2023

Codecov Report

Merging #4313 (1274166) into main (b78e10f) will decrease coverage by 0.02%.
Report is 1 commits behind head on main.
The diff coverage is 0.00%.

Impacted file tree graph

Files Changed Coverage Δ
crates/rpc/rpc/src/debug.rs 8.97% <0.00%> (-0.04%) ⬇️
crates/rpc/rpc/src/eth/api/call.rs 45.35% <0.00%> (-0.33%) ⬇️

... and 9 files with indirect coverage changes

Flag Coverage Δ
integration-tests 16.85% <0.00%> (+<0.01%) ⬆️
unit-tests 63.75% <0.00%> (-0.02%) ⬇️

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

Components Coverage Δ
reth binary 26.12% <ø> (ø)
blockchain tree 82.56% <ø> (ø)
pipeline 90.07% <ø> (ø)
storage (db) 74.77% <ø> (ø)
trie 94.85% <ø> (ø)
txpool 48.20% <ø> (ø)
networking 77.52% <ø> (-0.02%) ⬇️
rpc 58.78% <0.00%> (-0.04%) ⬇️
consensus 63.53% <ø> (ø)
revm 32.01% <ø> (ø)
payload builder 6.82% <ø> (ø)
primitives 86.14% <ø> (-0.03%) ⬇️

Copy link
Member

@Rjected Rjected left a comment

Choose a reason for hiding this comment

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

ah I can see why the previous behavior wouldn't be as correct

@mattsse mattsse added this pull request to the merge queue Aug 22, 2023
Merged via the queue into main with commit 12bec71 Aug 22, 2023
@mattsse mattsse deleted the matt/apply-state-overrides-once branch August 22, 2023 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-rpc Related to the RPC implementation C-bug An unexpected or incorrect behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

debug_traceCallMany/eth_callMany override state with state_context at every tx

2 participants