We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Now the receipt RLP format in our chain database is:
type receiptStorageRLP struct { PostStateOrStatus []byte CumulativeGasUsed uint64 Bloom Bloom TxHash common.Hash ContractAddress common.Address Logs []*LogForStorage GasUsed uint64 }
In fact the below fields are unnecessary in database:
because they can be derive from the transaction. Then format can be simplified to:
type storedReceiptRLP struct { PostStateOrStatus []byte CumulativeGasUsed uint64 Logs []*Log }
So we can encode the new receipt RLP with the new format. Then convert the old receipt RLP to the new format later.
The text was updated successfully, but these errors were encountered:
I will refer ethereum#19345 and handle it
Sorry, something went wrong.
We should refer to the following PR:
No branches or pull requests
Now the receipt RLP format in our chain database is:
In fact the below fields are unnecessary in database:
because they can be derive from the transaction. Then format can be simplified to:
So we can encode the new receipt RLP with the new format. Then convert the old receipt RLP to the new format later.
The text was updated successfully, but these errors were encountered: