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

chore(op): remove redundant trait NetworkEthApi #8411

Merged
merged 1 commit into from
May 27, 2024

Conversation

emhane
Copy link
Member

@emhane emhane commented May 27, 2024

Removes redundant trait NetworkEthApi, which isn't needed since all EthApi return types are extensible:

  • AnyTransactionReceipt is alloy type WithOtherFields
  • Transaction already has a alloy type OtherFileds as a field
  • RichBlock is alloy type with field for extra info

@emhane emhane added C-debt Refactor of code section that is hard to understand or maintain A-op-reth Related to Optimism and op-reth labels May 27, 2024
@emhane emhane requested review from mattsse and Rjected as code owners May 27, 2024 13:12
@emhane emhane merged commit f4f7786 into matt/scaffold-ethapi May 27, 2024
6 of 27 checks passed
@emhane emhane deleted the emhane/eth-api branch May 27, 2024 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-op-reth Related to Optimism and op-reth C-debt Refactor of code section that is hard to understand or maintain
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants