Skip to content
This repository was archived by the owner on Nov 30, 2021. It is now read-only.
This repository was archived by the owner on Nov 30, 2021. It is now read-only.

panic with "wrong Block.Header.AppHash" when a restarted node calling AddLog #674

@KamiD

Description

@KamiD

System info: [Include Ethermint commit, operating system name, and other relevant details]

Steps to reproduce:
Reproduce every time

  1. [First Step]
    Deploy 4 node with ethermintd
  2. [Second Step]
    Publish some contract and call it on ethermint
  3. [and so on...]
    Restart one of nodes
    Expected behavior:
    Node runs well
    Actual behavior:
    panic "wrong Block.Header.AppHash" happened
    Additional info:
    here is reference of csdb.logSize, if it not store to db, every new node will set it to zero, but for running node, csdb.logSize may not be zero, that's a difference between keep running node and restart node
    log.Index = csdb.logSize

Metadata

Metadata

Assignees

No one assigned

    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