Skip to content

Comments

chore(op): remove redundant trait NetworkEthApi#8411

Merged
emhane merged 1 commit intomatt/scaffold-ethapifrom
emhane/eth-api
May 27, 2024
Merged

chore(op): remove redundant trait NetworkEthApi#8411
emhane merged 1 commit intomatt/scaffold-ethapifrom
emhane/eth-api

Conversation

@emhane
Copy link
Collaborator

@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 A clean up/refactor of existing code A-op-reth Related to Optimism and op-reth labels May 27, 2024
@emhane emhane requested review from Rjected and mattsse as code owners May 27, 2024 13:12
@emhane emhane merged commit f4f7786 into matt/scaffold-ethapi May 27, 2024
@emhane emhane deleted the emhane/eth-api branch May 27, 2024 13:21
@emhane emhane mentioned this pull request May 30, 2024
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 A clean up/refactor of existing code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants