strangelove-ventures / cosmos-operator

Cosmos Operator is a kubernetes operator for managing cosmos nodes
Apache License 2.0
75 stars 18 forks source link

`version-check` should not always report a height of 1 for Sei `pebbledb` backend #416

Open pharr117 opened 4 months ago

pharr117 commented 4 months ago

The version check container is always reporting a height of 1, even when using the Sei pebbledb backend and specifying the databaseBackend: pebbledb field in the chain spec.

  1. Configure a sei node to run the latest version
    - height: 84914892
    image: ghcr.io/strangelove-ventures/heighliner/sei:v5.1.0
  2. Set chain spec databaseBackend to pebbledb
    spec:
    chain:
    databaseBackend: pebbledb
  3. Check the command created on the pod description to ensure its set to pebbledb
    Command:                                                                                           
       /manager
       versioncheck
       -b
       pebbledb
  4. Observe version check logs
    Verified correct image for height 1: <... height at 1, will override the correct height if a history is built up>