Closed sideninja closed 1 month ago
The changes involve the removal of the legacyReceiptFromBytes
function and the receiptV0
type from the models/receipt.go
file. The ReceiptsFromBytes
function has been simplified to eliminate legacy decoding, focusing solely on the current receipt format. This streamlining enhances error handling by directly returning errors on decoding failures without attempting recovery from legacy formats.
Files | Change Summary |
---|---|
models/receipt.go | Removed legacyReceiptFromBytes function and receiptV0 type. Simplified ReceiptsFromBytes function by eliminating legacy decoding fallback. |
🐇 In the code, we hop and play,
With legacy paths now gone away.
Simplified our way to decode,
A brighter path on this new road.
Hooray for changes, let's rejoice,
In modern code, we find our voice! 🌟
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
If we have to re-index, for whatever reason, does this mean we have to bring back this piece of code? :thinking:
have to bring back this piece of code?
No, after reindexing this code is no longer needed, this was only needed before we reindexed
Reverts onflow/flow-evm-gateway#474
This can be reverted after we reindexed.
Summary by CodeRabbit