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 duplicate AddOperation on MainnetEvmRegistries #2664

Merged
merged 1 commit into from
Aug 21, 2021

Conversation

matthewrkula
Copy link
Contributor

@matthewrkula matthewrkula commented Aug 20, 2021

PR description

While familiarizing myself with the EVM code, I noticed that there is a duplicate AddOperation being added to the MainnetEvmRegistries. The MainnetEvmRegistries#put() function just assigns the operation to a map using the operation's opcode so removing this duplicate line has no effect on the EVM itself as it was just overwriting the previous line.

Fixed Issue(s)

Changelog

Signed-off-by: Matt Kula <matt@theathletic.com>
Copy link
Contributor

@atoulme atoulme left a comment

Choose a reason for hiding this comment

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

LGTM thanks for the contrib

@atoulme atoulme merged commit b2da957 into hyperledger:main Aug 21, 2021
eum602 pushed a commit to lacchain/besu that referenced this pull request Nov 3, 2023
Signed-off-by: Matt Kula <matt@theathletic.com>
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.

2 participants