InjectiveLabs / injective-chain-releases

This repo contains all the published binaries of the Injective Chain
50 stars 25 forks source link

Starting local node fails with invalid coin denomination: got inj, expected stake #138

Open mindeleven opened 6 months ago

mindeleven commented 6 months ago

Hi,

I'm trying to set up and run a local node following the documentation at https://docs.injective.network/nodes/RunNode/local

injectived start fails with

invalid coin denomination: got inj, expected stake: invalid request

INFO[0000] starting ABCI with Tendermint                 module=main
INFO[0000] service start                                 fields.msg="Starting multiAppConn service" impl=multiAppConn module=proxy
INFO[0000] service start                                 connection=query fields.msg="Starting localClient service" impl=localClient module=abci-client
INFO[0000] service start                                 connection=snapshot fields.msg="Starting localClient service" impl=localClient module=abci-client
INFO[0000] service start                                 connection=mempool fields.msg="Starting localClient service" impl=localClient module=abci-client
INFO[0000] service start                                 connection=consensus fields.msg="Starting localClient service" impl=localClient module=abci-client
INFO[0000] service start                                 fields.msg="Starting EventBus service" impl=EventBus module=events
INFO[0000] service start                                 fields.msg="Starting PubSub service" impl=PubSub module=pubsub
INFO[0000] service start                                 fields.msg="Starting IndexerService service" impl=IndexerService module=txindex
INFO[0000] ABCI Handshake App Info                       hash="[]" height=0 module=consensus protocol-version=0 software-version=v1.11.5
INFO[0000] ABCI Replay Blocks                            appHeight=0 module=consensus stateHeight=0 storeHeight=0
INFO[0000] InitChain                                     chainID=injective-1 initialHeight=1 module=main
INFO[0000] initializing blockchain state from genesis.json  module=main
INFO[0000] created new capability                        module=ibc name=ports/icahost
INFO[0000] port binded                                   module=x/ibc/port port=icahost
INFO[0000] claimed capability                            capability=1 module=icahost name=ports/icahost
panic: failed to execute DeliverTx for '{"body":{"messages":[{"@type":"/cosmos.staking.v1beta1.MsgCreateValidator","description":{"moniker":"injective","identity":"","website":"","security_contact":"","details":""},"commission":{"rate":"0.100000000000000000","max_rate":"0.200000000000000000","max_change_rate":"0.010000000000000000"},"min_self_delegation":"1","delegator_address":"inj16q8przg6jjv8llmfgpd6lukckwarkaqc5j9v8e","validator_address":"injvaloper16q8przg6jjv8llmfgpd6lukckwarkaqcr5sfxa","pubkey":{"@type":"/cosmos.crypto.ed25519.PubKey","key":"5drgiksUIGmb98v8IGhKKqZQiCIQP7WboCCtu1tiNxo="},"value":{"denom":"inj","amount":"1000000000000000000000"}}],"memo":"9a0132879aace76870c040ca4f8e112661718fad@192.168.2.121:26656","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[{"public_key":{"@type":"/injective.crypto.v1beta1.ethsecp256k1.PubKey","key":"AntKoX9HM35PCKPpJVhO4yDnw/fsEz+5d3Otd2ZmTmIN"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}},"sequence":"0"}],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""},"tip":null},"signatures":["uMFxazz69n/0c7ofMTsbE2wO80ux3ThK8+EWXPrgNqUMs3xq72zgurh5GFiJM6MKKtAfPQ35vx/smn8vfI5OLQA="]}': failed to execute message; message index: 0: invalid coin denomination: got inj, expected stake: invalid request

I guess I'll have to change a "denom" field in genesis.json to "stake" but so far I couldn't figure out which one.