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

fix: enable cancun in transaction validator if active at genesis #4522

Merged
merged 1 commit into from
Sep 8, 2023

Conversation

Rjected
Copy link
Member

@Rjected Rjected commented Sep 8, 2023

Some of the hive tests activate cancun at genesis, then immediately send transactions that the validator would reject with the current logic. This lets the validator activate cancun for hive tests if active at genesis

@Rjected Rjected added C-bug An unexpected or incorrect behavior A-tx-pool Related to the transaction mempool E-cancun Related to the Cancun network upgrade labels Sep 8, 2023
@codecov
Copy link

codecov bot commented Sep 8, 2023

Codecov Report

Merging #4522 (60f22c7) into main (1ed5ae1) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

Files Changed Coverage Δ
crates/transaction-pool/src/validate/eth.rs 6.94% <100.00%> (+0.78%) ⬆️

... and 7 files with indirect coverage changes

Flag Coverage Δ
integration-tests 16.73% <0.00%> (-0.01%) ⬇️
unit-tests 63.92% <100.00%> (+<0.01%) ⬆️

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

Components Coverage Δ
reth binary 29.71% <ø> (ø)
blockchain tree 83.58% <ø> (ø)
pipeline 90.56% <ø> (ø)
storage (db) 75.33% <ø> (ø)
trie 94.88% <ø> (ø)
txpool 47.50% <100.00%> (+0.03%) ⬆️
networking 77.43% <ø> (-0.02%) ⬇️
rpc 57.45% <ø> (ø)
consensus 63.40% <ø> (ø)
revm 31.74% <ø> (ø)
payload builder 6.34% <ø> (ø)
primitives 86.47% <ø> (+0.06%) ⬆️

📢 Have feedback on the report? Share it here.

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.

lgtm

@mattsse mattsse added this pull request to the merge queue Sep 8, 2023
Merged via the queue into main with commit 123c797 Sep 8, 2023
24 checks passed
@mattsse mattsse deleted the dan/enable-4844-txs-if-cancun-active-at-genesis branch September 8, 2023 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tx-pool Related to the transaction mempool C-bug An unexpected or incorrect behavior E-cancun Related to the Cancun network upgrade
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants