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

Understanding receipt serialisation on inclusion in a block. #22682

Closed
mfornet opened this issue Apr 16, 2021 · 1 comment
Closed

Understanding receipt serialisation on inclusion in a block. #22682

mfornet opened this issue Apr 16, 2021 · 1 comment

Comments

@mfornet
Copy link

mfornet commented Apr 16, 2021

Each block contains the merkle-root of the MPT that contains all receipts. Receipts are serialised as a tuple of four values, and I want to understand how is the first value determined.

I noticed that it can be either a "boolean" (0x00 or 0x01), or instead the merkle root of the state after applying the relevant tx.

When is the boolean value used, and when is the merkle root used?

For more information about this, I opened a question in Ethereum SE, and this issue: Near-One/rainbow-bridge#557

@MariusVanDerWijden
Copy link
Member

The merkle root was used a long time ago, now only 0 or 1 is saved in the receipt depending on whether a transaction was successful
ethereum/EIPs#98

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants