mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-20 17:31:11 +00:00
601b7e6870
Calling vm to get a metric and then preregistering it to avoid duplication is expensive. To avoid this we can make a local lookup first which is a map this quicker. This is a temporary fix until vm is removed at which point we'll have a single prom_client registry Fixes: https://github.com/ledgerwatch/erigon/issues/8558