forked from bnb-chain/bsc
-
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 (bnb-chain#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
1 parent
28c13bd
commit ca8bbd6
Showing
1 changed file
with
110 additions
and
1 deletion.
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