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

Setup full node on bitsong-2b chain from scratch #217

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Enigma-Validator
Copy link

No description provided.

@webpatser
Copy link

Followed all the steps, but I get an error:

After a full sync I created a wallet.

But then during the bitsongd tx staking create-validator step, I get an error Error: rpc error: code = NotFound desc = rpc error: code = NotFound desc = account bitsong1..... not found: key not found

The $(bitsongd tendermint show-validator) gives me the, I assume, correct address but the tx staking doesn't seem to like it.

Any thoughts?

@angelorc
Copy link
Collaborator

Try with this

bitsongd tx staking create-validator \
--amount 1000000ubtsg \
--pubkey=$(bitsongd tendermint show-validator) \
--moniker="Your moniker" \
--details="Your details"  \
--commission-rate="0.05" \
--commission-max-rate="0.20" \
--commission-max-change-rate="0.01" \
--min-self-delegation="10000" \
--from keyname \
--chain-id=bitsong-2b \
-b block

@webpatser
Copy link

same error :-(

Error: rpc error: code = NotFound desc = rpc error: code = NotFound desc = account bitsong1v.....

@Enigma-Validator
Copy link
Author

Are you synced ?
To know it run

curl localhost:26657/status

If "catching_up" field is true so you are not and you have to wait to create your validator

@webpatser
Copy link

"sync_info": {
      "latest_block_hash": "342A6371E6B27E39A012D683018B73BF37E3A9B34A82C901D9A2457F3650FD87",
      "latest_app_hash": "DEB7C56FD04EA56E8CE2D225C8384B3FD168F857CF3DF9CC6CEECBA61D1183A8",
      "latest_block_height": "3552118",
      "latest_block_time": "2021-11-30T13:36:15.838395207Z",
      "earliest_block_hash": "5659C6C254540576393A229F4C6294A6237B29FED95CCE1D8F794644B08CE3AE",
      "earliest_app_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
      "earliest_block_height": "2966151",
      "earliest_block_time": "2021-10-21T11:00:00Z",
      "catching_up": false
    },

fully synced...

@webpatser
Copy link

webpatser commented Nov 30, 2021

when I create the wallet (like in the steps bitsongd keys add WALLET-NAME). Do I need to push that to the chain? Or is that synced right away?

@Enigma-Validator
Copy link
Author

when I create the wallet (like in the steps bitsongd keys add WALLET-NAME). Do I need to push that to the chain? Or is that synced right away?

No you didn't need to push it.
Can you send your create-validator command ?
If you have discord you can ping me Enigma#6403 I will help you

@webpatser
Copy link

webpatser commented Dec 1, 2021

Hi,

Its exactly the same is described in this PR.

bitsongd tx staking create-validator \ 
 --amount=100000000ubtsg \ 
 --pubkey=$(bitsongd tendermint show-validator) \ 
 --moniker="YOUR MONIKER" \ 
 --chain-id=bitsong-2b \ 
 --commission-rate="0" \ 
 --commission-max-rate="0.20" \ 
 --commission-max-change-rate="0.10" \ 
 --min-self-delegation="1" \
 --from=YOUR-WALLET

I changed the --from= to my wallet name, and --moniker= to my moniker name.

I also tried the suggestion before of adding the -b block option

@Enigma-Validator
Copy link
Author

Hi,

Its exactly the same is described in this PR.

bitsongd tx staking create-validator \ 
 --amount=100000000ubtsg \ 
 --pubkey=$(bitsongd tendermint show-validator) \ 
 --moniker="YOUR MONIKER" \ 
 --chain-id=bitsong-2b \ 
 --commission-rate="0" \ 
 --commission-max-rate="0.20" \ 
 --commission-max-change-rate="0.10" \ 
 --min-self-delegation="1" \
 --from=YOUR-WALLET

I changed the --from= to my wallet name, and --moniker= to my moniker name.

I also tried the suggestion before of adding the -b block option

It seems like it doesn't find your key
If your run

bitsongd keys list

What is outputted ?
Also do you have enough tokens in your wallet ?

bitsongd query bank balances your_wallet_address

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

Successfully merging this pull request may close these issues.

3 participants