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

EIP-2718 transactions are wrapped into byte array in block RLP #172

Merged
merged 9 commits into from
Mar 8, 2021

Conversation

yperbasis
Copy link
Member

@yperbasis yperbasis commented Mar 3, 2021

According to EIP-2718, serialized transactions are prepended with 1 byte containing the type (0x01 for EIP-2930 transactions); the same goes for receipts. This is true for signing and transaction root calculation. However, in block body RLP serialized EIP-2718 transactions are additionally wrapped into RLP byte array. (Refer to geth implementation; EIP-2718 is mute on block RLP.)

Part of Issue #99.

@yperbasis yperbasis merged commit b2b79e4 into master Mar 8, 2021
@yperbasis yperbasis deleted the eip-2718 branch March 8, 2021 10:36
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