Skip to content

zetaclient_last_scanned_block_number no longer being emitted for EVM chains #2829

Closed

Description

@morde08

Describe the Bug
The metric zetaclient_last_scanned_block_number is only emitted for chain: btc_mainnet (Mainnet) and chain: btc_testnet, solana_devnet (Testnet). The metric is not emitted as it was before for chains: eth_mainnet, bsc_mainnet, etc.

To Reproduce
Start Zetaclientd with telemetry metrics enabled.

Expected Behavior
zetaclient_last_scanned_block_number would be emitted for all connected chains.

Screenshots

# HELP zetaclient_last_scanned_block_number Last scanned block number per chain
# TYPE zetaclient_last_scanned_block_number gauge
zetaclient_last_scanned_block_number{chain=""} 1.4861373e+07
zetaclient_last_scanned_block_number{chain="btc_testnet"} 2.903149e+06
zetaclient_last_scanned_block_number{chain="solana_devnet"} 3.23089893e+08

^Above is all that is emitted
Environment (please complete the following information):

  • OS
  • Version used

Activity

  1. gartnera commented on Sep 5, 2024

    @gartnera
    Contributor

    Root cause seems to be #2568

    This started injecting the chain.Chain{} that is stored on disk in zetaclient config.json rather than using the on chain info. We should be using the chain.RawChain() like we do in other chains.

  2. self-assigned this
    on Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions