Skip to content

remove storedReceiptsRLP struct#738

Merged
joshklop merged 6 commits intojoshklop/v1.16.5from
joshklop/receipt-updates
Dec 20, 2025
Merged

remove storedReceiptsRLP struct#738
joshklop merged 6 commits intojoshklop/v1.16.5from
joshklop/receipt-updates

Conversation

@joshklop
Copy link
Copy Markdown
Contributor

supersedes #735

geoknee and others added 6 commits December 19, 2025 22:59
Add multiple raw DB receipt hex test vectors and iterate over them using
t.Run to create subtests. Decode each receipt inside the subtest and
remove hardcoded assertions. Add fmt import.
Replace the local storedReceiptRLP with core/types.ReceiptForStorage in
decoding code. Update tests to decode into ReceiptForStorage and compare
FeeScalar as a big.Float. Use ReceiptForStorage, remove duplicate struct

Mark legacy receipt fields as rlp:"optional" so mixed-format receipts
can be parsed without errors. Update unit tests to decode legacy
receipts into ReceiptForStorage and compare FeeScalar by parsing it into
a big.Float to match the stored representation
@joshklop joshklop marked this pull request as ready for review December 20, 2025 05:00
@joshklop joshklop requested a review from a team as a code owner December 20, 2025 05:00
@joshklop joshklop requested review from geoknee and removed request for a team December 20, 2025 05:00
@joshklop joshklop merged commit ba855ca into joshklop/v1.16.5 Dec 20, 2025
8 of 13 checks passed
@joshklop joshklop deleted the joshklop/receipt-updates branch December 20, 2025 05:00
joshklop added a commit that referenced this pull request Dec 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants