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

Remove unnecessary boolean comparisons when using isActivatedEIP #3377

Merged
merged 3 commits into from
Apr 27, 2024

Conversation

scorbajio
Copy link
Contributor

@scorbajio scorbajio commented Apr 27, 2024

This change removes some unnecessary explicit boolean comparisons where isActivatedEIP is called in order to make the code cleaner and more consistent.

Copy link
Contributor

@acolytec3 acolytec3 left a comment

Choose a reason for hiding this comment

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

LGTM

@acolytec3 acolytec3 merged commit ae08197 into master Apr 27, 2024
33 of 34 checks passed
@acolytec3 acolytec3 deleted the remove-unnecessary-boolean-comparisons branch April 27, 2024 11:33
@holgerd77
Copy link
Member

holgerd77 commented Apr 30, 2024

Hi there, cool, thanks, that’s useful and a nice cleanup! 🙂👍 Just to add: I would assume we have 2-3 more heavily used methods from Common where such a cleanup might be nice (and needed), if you want another task for some in between sideline work. 🙂

Parth2412 pushed a commit to Parth2412/ethereumjs-monorepo that referenced this pull request Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants