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

"Hydrate" the transactions returned by eth_getBlockByHash #982

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

carver
Copy link
Collaborator

@carver carver commented Oct 11, 2023

What was wrong?

Fix #886

How was it fixed?

Aggregate and convert information into the transaction representation. I didn't do a From implementation, because the jsonrpc representation of a transaction includes block-level information, so we need to compile information from the block and the transaction together first, before converting it into a reth-rpc style Transaction.

To-Do

  • Clean up commit history

The type conversion functions will be reused in several places, and
don't belong co-located with the header types.
We should be consistent across all transaction types with the name for
this variable. I just picked one, based on the RPC name.
@carver carver force-pushed the eth-get-hydrated-block branch from 83c7004 to 6335853 Compare October 20, 2023 04:29
@KolbyML
Copy link
Member

KolbyML commented Oct 3, 2024

#886 isn't a issue. Maybe the wrong issue was linked? This PR has been open for a year are there any plans to get it past the finish line? If not maybe we should close it and make an issue of the problem (maybe there already is an issue but it isn't linked not sure)

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