Module reth_optimism_cli::receipt_file_codec

source ·
Available on crate feature optimism only.
Expand description

Module with a codec for reading and encoding receipts in files.

Enables decoding and encoding HackReceipt type. See https://github.com/testinprod-io/op-geth/pull/1.

Currently configured to use codec HackReceipt based on export of below Bedrock data using https://github.com/testinprod-io/op-geth/pull/1. Codec can be replaced with regular encoding of receipts for export.

NOTE: receipts can be exported using regular op-geth encoding for Receipt type, to fit reth’s needs for importing. However, this would require patching the diff in https://github.com/testinprod-io/op-geth/pull/1 to export the Receipt and not HackReceipt type (originally made for op-erigon’s import needs). Codec for reading raw receipts from a file.

Structs§