Skip to content

chain reaches consensus failure on binary rebuild and restart #543

@adamewozniak

Description

@adamewozniak

Summary of Bug

When running the beta version of the chain locally, rebuilding the binary in beta mode, stopping the chain, and then restarting, it reaches consensus failure via an error from the x/leverage module :

ERR CONSENSUS FAILURE!!! err="-0.000002092846270928 years: negative time elapsed since last interest time" module=consensus ...

Not sure if this is a major issue, but still worth jotting down

Version

Please provide the output of the following commands:

  • $ umeed version
    price-feeder/v0.1.0-c66f8961
  • $ go version
    go version go1.17.3 darwin/arm64
  • $ uname -a
    Darwin Adams-MacBook-Pro-2.local 21.3.0 Darwin Kernel Version 21.3.0: Wed Jan 5 21:37:58 PST 2022; root:xnu-8019.80.24~20/RELEASE_ARM64_T6000 arm64

Steps to Reproduce

Steps to reproduce the behavior:

  1. Launch beta umee network
UMEE_ENABLE_BETA=true starport chain serve -c ./starport.ci.beta.yml -v --reset-once
  1. Rebuild binary with beta support
UMEE_ENABLE_BETA=true make install
  1. Stop & Restart umee network
UMEE_ENABLE_BETA=true starport chain serve -c ./starport.ci.beta.yml -v

For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned

Metadata

Metadata

Assignees

No one assigned

    Labels

    C:x/leverageT:BugA regression or bug in the Umee codebase.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions