-
Notifications
You must be signed in to change notification settings - Fork 1
key format from ag-chain-cosmos tendermint show-validator
not compatible with init cli
#17
Comments
Pulled the genesis file and config from the wiki: https://github.com/Agoric/agoric-sdk/wiki/Validator-Guide-for-Devnet
The chain syncs up fine to the last block, however when I'm trying to initialize our validator (with either a restored key or new key) it doesn't take the new format. |
What specific command fails? What error message comes out? |
Some more info for debugging purposes below:
Imported my previous keys:
Get the public key from the current node
And last but not least trying to submit the create-validator tx which fails on the pubkey part
This makes me believe either something is wrong with my binaries or pubkey format. I used the following config files:
|
you can use total string instead of only pubkey value |
Err.. that's the exact same value as I posted under "Get the public key from the current node" of my previous message so that results as expected in the same error:
I didn't had any issues updating my node to |
any chance shell quoting is a problem here? try |
Same result but ty for the suggestion. I will start with a fresh keypair tomorrow on a freshly synced node to see if it is on my end or not.. Will keep ya'll posted here. |
This is really bizarre, as it is a JSON parsing error (it's looking for an object beginning with Like this (I needed to escape the output with ...
--pubkey='{"@type":"/cosmos.crypto.ed25519.PubKey","key":"QkK5uJYlRfjgR8vNfW4Srcy0xUz1lfgxpPmoSd2E0/Y="}'
... |
That did the trick @michaelfig ! Although I'm pretty sure I still had some old traces in the
We are back up and running: https://devnet.explorer.agoric.net/validator/agoricvaloper16hlhqxnn5qkp2rwec2s3j3j0lu79sv7xz6whgu |
So we just need to update the docs. Oh... in fact, I see the testnet guide was already updated in this regard: I updated the devnet guide likewise: 5f8dd82 |
@michaelfig is this as-designed? If so, I guess we at least need to update the validator guide...
context: https://discord.com/channels/585576150827532298/755164695849205942/877268194522452028
The text was updated successfully, but these errors were encountered: