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

internal/ethapi: don't omit empty txes, uncles from getBlock responses #333

Merged
merged 3 commits into from
Mar 15, 2021

Conversation

meowsbits
Copy link
Contributor

This should return an empty array when empty.

Resolves #332

Date: 2021-03-12 07:47:43-06:00
Signed-off-by: meows [email protected]

This should return an empty array when empty.

Resolves #332

Date: 2021-03-12 07:47:43-06:00
Signed-off-by: meows <[email protected]>
Date: 2021-03-12 08:54:06-06:00
Signed-off-by: meows <[email protected]>
@meowsbits meowsbits force-pushed the fix-eth-getblock-api-tx-uncles branch from aee6fb5 to ee4e34a Compare March 12, 2021 14:55
Date: 2021-03-12 10:19:07-06:00
Signed-off-by: meows <[email protected]>
@meowsbits
Copy link
Contributor Author

meowsbits commented Mar 12, 2021

This is related (in regard to bad marshaling) to #334. That issue opens a can of worms though, so I suggest to move forward this (and it's respective issue) and 334 independently.

@meowsbits meowsbits merged commit b4c5fc5 into master Mar 15, 2021
@meowsbits meowsbits deleted the fix-eth-getblock-api-tx-uncles branch March 15, 2021 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Uncle blocks are missing in eth_getBlockByHash RPC response
2 participants