forked from ethereum/go-ethereum
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core/types: add legacy receipt deserialization (ethereum#28)
Receipts in `l2geth` are stored with L1 fee data to prevent the need of having an archive node for historical L1 fee data. https://github.com/ethereum-optimism/optimism/blob/91a80d287237032a47d68d8809b1dc67ad15293f/l2geth/core/types/receipt.go#L247 This ports the deserialization of the legacy `l2geth` style serialization to `op-geth`. This is required for nodes that upgrade using the db migration tool.
- Loading branch information
Showing
1 changed file
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters