Skip to content

Commit

Permalink
Merge pull request #460 from onflow/fix-evm-block-height-metric
Browse files Browse the repository at this point in the history
`EVMHeightIndexed` metric incorrectly tracks Cadence height instead of EVM height
  • Loading branch information
sideninja authored Aug 20, 2024
2 parents c10ccf8 + 032c91b commit daa037a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/ingestion/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ func (e *Engine) processEvents(events *models.CadenceEvents) error {
}
}

e.collector.EVMHeightIndexed(events.CadenceHeight())
e.collector.EVMHeightIndexed(events.Block().Height)
return nil
}

Expand Down

0 comments on commit daa037a

Please sign in to comment.