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

key not found #546

Open
JohnsonSmile opened this issue Mar 11, 2024 · 2 comments
Open

key not found #546

JohnsonSmile opened this issue Mar 11, 2024 · 2 comments

Comments

@JohnsonSmile
Copy link

Summary of Bug

When create validator with babylond tx checkpointing create-validator [path/to/validator.json] [flags]
got this error:

$ babylond tx checkpointing create-validator /root/validator/validator.json --chain-id="$CHAIN_ID" --gas="auto" --gas-adjustment="1.5" --gas-prices="0.025ubbn" --keyring-backend=test --from=$VAL_KEY --home /root/.babylond
Error: rpc error: code = NotFound desc = rpc error: code = NotFound desc = account bbn1nx6wgechd4q7sazv3yuwq3mfd58e4neaf4yeh5 not found: key not found

Version

v0.8.4

git branch
  dev
* v0.8.4

Steps to Reproduce

Just follow the Become Validator doc:

$ babylond tx checkpointing create-validator /root/validator/validator.json --chain-id="$CHAIN_ID" --gas="auto" --gas-adjustment="1.5" --gas-prices="0.025ubbn" --keyring-backend=test --from=$VAL_KEY --home /root/.babylond
Error: rpc error: code = NotFound desc = rpc error: code = NotFound desc = account bbnxxxx not found: key not found

The key can be found with follow command:

$ babylond keys show xxxx --keyring-backend=test
- address: bbnxxxxx
  name: xxxx
  pubkey: '{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"AoIxxxx"}'
  type: local
@JohnsonSmile
Copy link
Author

Summary of Bug

When create validator with babylond tx checkpointing create-validator [path/to/validator.json] [flags] got this error:

$ babylond tx checkpointing create-validator /root/validator/validator.json --chain-id="$CHAIN_ID" --gas="auto" --gas-adjustment="1.5" --gas-prices="0.025ubbn" --keyring-backend=test --from=$VAL_KEY --home /root/.babylond
Error: rpc error: code = NotFound desc = rpc error: code = NotFound desc = account bbn1nx6wgechd4q7sazv3yuwq3mfd58e4neaf4yeh5 not found: key not found

Version

v0.8.4

git branch
  dev
* v0.8.4

Steps to Reproduce

Just follow the Become Validator doc:

$ babylond tx checkpointing create-validator /root/validator/validator.json --chain-id="$CHAIN_ID" --gas="auto" --gas-adjustment="1.5" --gas-prices="0.025ubbn" --keyring-backend=test --from=$VAL_KEY --home /root/.babylond
Error: rpc error: code = NotFound desc = rpc error: code = NotFound desc = account bbnxxxx not found: key not found

The key can be found with follow command:

$ babylond keys show xxxx --keyring-backend=test
- address: bbnxxxxx
  name: xxxx
  pubkey: '{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"AoIxxxx"}'
  type: local

Btw, my node status is not synced, is that the problem?

babylond status | jq
{
  "node_info": {
    "protocol_version": {
      "p2p": "8",
      "block": "11",
      "app": "0"
    },
    "id": "69f3d32b232f6020a094162b349a2d59917bcc8b",
    "listen_addr": "tcp://0.0.0.0:26656",
    "network": "bbn-test-3",
    "version": "0.38.5",
    "channels": "40202122233038606100",
    "moniker": "block2024",
    "other": {
      "tx_index": "on",
      "rpc_address": "tcp://127.0.0.1:26657"
    }
  },
  "sync_info": {
    "latest_block_hash": "91163C85B2635632E2B36ED263B4B26CFC312BE4C0B9326CC9C00190E09720EC",
    "latest_app_hash": "D72B1C31BBCAF9BDFEC634DF50A64FDB06DF7B1977DD439CED445E4F9E6E451E",
    "latest_block_height": "31",
    "latest_block_time": "2024-02-08T14:29:25.210870937Z",
    "earliest_block_hash": "69DDAB992D49DCE2E63908E3BAC8E51BEAAA5430E26CC10E50EEAC0A29C65F82",
    "earliest_app_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
    "earliest_block_height": "1",
    "earliest_block_time": "2024-02-08T14:11:01Z",
    "catching_up": true
  },
  "validator_info": {
    "address": "66xxxxx",
    "pub_key": {
      "type": "tendermint/PubKeyEd25519",
      "value": "xxxxx"
    },
    "voting_power": "0"
  }
}

@pil2776
Copy link

pil2776 commented Mar 11, 2024

I have the same issue...if someone has the answer....

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

2 participants