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

manually implement Serialize for rest arbitrary fields #9

Merged
merged 3 commits into from
Oct 1, 2024

Conversation

iFrostizz
Copy link
Owner

No description provided.

types/src/block.rs Outdated Show resolved Hide resolved
types/src/block.rs Outdated Show resolved Hide resolved
Comment on lines +200 to +216
match self {
Self::Legacy {
parent_hash,
uncle_hash,
coinbase,
state_root,
tx_root,
receipt_hash,
bloom,
difficulty,
number,
gas_limit,
gas_used,
time,
extra,
mix_digest,
nonce,
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add a macro?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will need a proc macro here

types/src/block.rs Outdated Show resolved Hide resolved
@iFrostizz iFrostizz merged commit f9cebb7 into master Oct 1, 2024
1 check passed
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.

1 participant