Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mindeleven opened this issue Feb 16, 2024 · 0 comments

Comments

@mindeleven
Copy link

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":"[email protected]: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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant