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: omit empty fields of AccountState #4828

Merged
merged 1 commit into from
Sep 27, 2023

Conversation

mattsse
Copy link
Collaborator

@mattsse mattsse commented Sep 27, 2023

fields are ommitted if zero or empty:

https://github.com/ethereum/go-ethereum/blob/adb9b319c9c61f092755000bf0fc4b3349f5cbbc/eth/tracers/native/prestate.go#L41-L46

this adds a new helper init function that checks this

ref #4731

@mattsse mattsse added the A-rpc Related to the RPC implementation label Sep 27, 2023
@mattsse mattsse added C-bug An unexpected or incorrect behavior M-changelog This change should be included in the changelog labels Sep 27, 2023
@codecov

This comment was marked as resolved.

@mattsse mattsse added this pull request to the merge queue Sep 27, 2023
Merged via the queue into main with commit 50175f8 Sep 27, 2023
23 checks passed
@mattsse mattsse deleted the matt/fix-account-state-serialize branch September 27, 2023 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-rpc Related to the RPC implementation C-bug An unexpected or incorrect behavior M-changelog This change should be included in the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants