Closed peterargue closed 4 days ago
A new line of code has been added to the processEvents
method of the Engine
struct in the services/ingestion/engine.go
file. This line invokes the CadenceHeightIndexed
method on the collector
field, using the cadence height obtained from the events
parameter. This modification occurs just before the method returns nil
, enabling the recording of cadence height for heartbeat events without event payloads.
File Path | Change Summary |
---|---|
services/ingestion/engine.go | Modified the processEvents method to include a call to CadenceHeightIndexed using the cadence height from events . |
CadenceHeightIndexed
in the processEvents
method of the Engine
struct, which directly relates to the new line of code added in the main PR that also calls CadenceHeightIndexed
.Improvement
, EVM
In the engine's heart, a new line sings,
A cadence height, oh what joy it brings!
With every event, we gather the score,
Recording the rhythm, forevermore.
Hopping along, we celebrate this feat,
In the world of code, our hearts skip a beat! 🐇✨
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?
Closes: #???
Description
Related to https://github.com/onflow/flow-evm-gateway/pull/571
I missed collecting metrics when the cadence block does not include a evm block.
For contributor use:
master
branchFiles changed
in the Github PR explorerSummary by CodeRabbit
New Features
Bug Fixes