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 wrong check regarding EIP-155 #5421

Merged
merged 1 commit into from
Nov 14, 2023
Merged

Conversation

ckoopmann
Copy link
Contributor

The current logic throws the error "transactions before Spurious Dragon should not have a chain ID" if Spurios Dragon is active at the given block and the chain_id is set (in a legacy Tx).

From my reading of the error message this seems to be wrong and the first condition should be negated so that the error is only thrown if SpuriosDragon is not active.

@ckoopmann ckoopmann requested a review from gakonst as a code owner November 14, 2023 11:59
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.

oh, yeah I think this is a bug indeed, right @rkrasiuk ?

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.

good find, thanks!

@rkrasiuk rkrasiuk added this pull request to the merge queue Nov 14, 2023
Merged via the queue into paradigmxyz:main with commit f061363 Nov 14, 2023
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.

3 participants