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: remove OtherFields from Transaction and Block #1154

Merged
merged 1 commit into from
Aug 20, 2024
Merged

Conversation

klkvr
Copy link
Member

@klkvr klkvr commented Aug 19, 2024

Motivation

Those currently consume all extra data, forcing AnyNetwork users to do value.inner.other instead of just value.other.

Should be merged after #1106 which makes block responses use WithOtherFields<Block> while with this PR returned blocks are just Block which will miss extra fields

Solution

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

Copy link
Member

@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.

good call, we can remove these now

I believe this only has one sideffect that we need to tune reth's rpc responses a bit

@mattsse mattsse merged commit 362eec0 into main Aug 20, 2024
26 checks passed
@mattsse mattsse deleted the klkvr/remove-other branch August 20, 2024 07:06
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