Closed sideninja closed 3 weeks ago
The changes introduce a new function, decodeLegacyBlockEvent
, to decode legacy block events from Cadence. This function is called when the initial decoding in decodeBlockEvent
fails. A new struct, blockEventPayloadV0
, is also defined to represent the legacy block event payload. These modifications enhance the block event decoding process by adding support for legacy events.
Files | Change Summary |
---|---|
models/block.go | New function decodeLegacyBlockEvent added; new struct blockEventPayloadV0 defined. |
In the meadow where the data flows,
A new decoder for the past now grows.
With legacy events, we hop and play,
Bringing old tales to light today!
🐇✨
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?
This was merged too early, the original PR was not released under flow-go v0.37.0. We need to wait for next flow-go release before merging.
Reverts onflow/flow-evm-gateway#476
Summary by CodeRabbit