Skip to content

Genesis in /v0.12/genesis.json appears invalid with release v0.12.2-testnet1 #6

@maxwellfoley3

Description

@maxwellfoley3

I cannot connect to the testnet with this genesis file. When I try to run okexchaind validate-genesis I get:

ERROR: error validating genesis file /Users/maxwellfoley/.okexchaind/config/genesis.json: unrecognized concrete type name okexchain/staking/MsgCreateValidator

If I find-replace all instances of okexchain/staking/MsgCreateValidator in the genesis with cosmos-sdk/MsgCreateValidator, this error goes away, but I get

ERROR: error validating genesis file /Users/maxwellfoley/.okexchaind/config/genesis.json: json: cannot unmarshal object into Go struct field msgCreateValidatorJSON.min_self_delegation of type string

It appears that this genesis file was generated with some incompatible version of okexchaind, or I have somehow become confused about which genesis file is meant to match with which version of the code.

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