kifoundation / ki-tools Goto Github PK
View Code? Open in Web Editor NEWTools for the Kichain
License: Apache License 2.0
Tools for the Kichain
License: Apache License 2.0
After starting the node i can't establish connection to the peers having following errors
I[2022-01-19|13:08:51.801] Error reconnecting to peer. Trying again module=p2p tries=0 err="auth failure: secret conn failed: read tcp xxx.xxx.xxx.xxx:47924->xxx.xxx.xxx.xxx:26656: i/o timeout" addr=[email protected]:26656
I[2022-01-19|13:08:52.043] Dialing peer module=p2p address=[email protected]:26656
I[2022-01-19|13:08:55.065] Error reconnecting to peer. Trying again module=p2p tries=2 err="auth failure: secret conn failed: read tcp xxx.xxx.xxx.xxx:51524->xxx.xxx.xxx.xxx:26656: i/o timeout"
etc....
Version : 1.0.0
1/2
I followed the README.md to build and install binaries, but the process fails at make install
with errors:
go: writing go.mod cache: mkdir /usr/local/go/pkg/mod: permission denied
go: writing go.mod cache: mkdir /usr/local/go/pkg/mod: permission denied
go: writing go.mod cache: mkdir /usr/local/go/pkg/mod: permission denied
...
I'm not quite familiar with Go, but I thought something went wrong in configuration variables. So I changed:
GOPATH=/usr/local/go
to
GOPATH=$HOME/go
without re-executing the rest of the shell commands (maybe I should ?):
PATH=$GOPATH/bin:$PATH
mkdir -p $HOME/go/bin
echo "export PATH=$PATH:$(go env GOPATH)/bin" >> ~/.bash_profile
source ~/.bash_profile
This modification allowed me to successfully run make install
command
2/2
kid version --long
failed because kid
was not found. This is likely due to the fact that $GOPATH
was not correct initially, and thus, PATH=$GOPATH/bin:$PATH
does not actually add $HOME/go/bin
to the PATH
After these fixes, I managed to configure and run a node. But not able to become a validator yet without faucet tokens
commit ID: 573b732
Run the commands of README.md on a fresh install
When I download genesis.json
file from kichain-1
network and then start, kichain ended up with the error:
Error: error reading GenesisDoc at /root/.kid/config/genesis.json: evidence.MaxAgeNumBlocks must be greater than 0. Got 0
$ kid version
Mainnet-IBC-main-3fbf23ed576464f613240614659733af8e929be0
I followed this instruction: https://medium.com/ki-foundation/how-to-join-the-kichain-mainnet-5ac7160d72e3
kid init notional --chain-id kichain-1
wget -O ~/.kid/config/genesis.json https://raw.githubusercontent.com/KiFoundation/ki-networks/v0.1/Mainnet/kichain-1/genesis.json
kid start
Hi!
After switching the branch to testnet-ibc, kicli application disappeared from there. The old one, from the testnet branch, used CosmosSDK 0.37.9. As a result old kicli is not able connect to the most recent kid:
root@Ubuntu-1804-bionic-64-minimal ~ # ./kicli_wrapper status
{"node_info":{"protocol_version":{"p2p":"8","block":"11","app":"0"},"id":"1b6d67b4cff4dff68a88fdf94c3fe6c2e61bbf27","listen_addr":"tcp://0.0.0.0:26656","network":"kichain-t-3","version":"v0.34.9","channels":"40202122233038606100","moniker":"Ubuntu-1804-bionic-64-minimal","other":{"tx_index":"on","rpc_address":"tcp://127.0.0.1:26657"}},"sync_info":{"latest_block_hash":"2268698F6BCE352684BA7AE9F7FD2B307A255D6280975A54EF9130404007EE42","latest_app_hash":"03F93C05F23385C0607713E2913E019BA4F3ADB565D62DE9908E06C871C6E6EE","latest_block_height":"72393","latest_block_time":"2021-08-25T23:14:27.432192133Z","catching_up":false},"validator_info":{"address":"188F701B2E8054C633DF775A65E2535C7CE8B872","pub_key":{"type":"tendermint/PubKeyEd25519","value":"JvWQK62kKLK5wRdj7Ez1pfb4MbXruUiiB3hvbrQqBYk="},"voting_power":"0"}}
root@Ubuntu-1804-bionic-64-minimal ~ # ./kicli_wrapper tx slashing unjail --from wallet --chain-id kichain-t-3
ERROR: ABCIQuery: error unmarshalling rpc response result: unknown field "proofOps" in types.ResponseQuery
I followed that order:
kicli keys add Flug --home ./kicli/
via the website: https://medium.com/ki-foundation/welcome-to-the-kazeki-testnet-840fa97ba29
and by adding my passphrase I realized that the address returned was not the same as the one of my wallet so it is impossible to start the validator with this command:
kicli tx staking create-validator
--commission-max-change-rate=0.1 \
--commission-max-rate=0.1 \
--commission-rate=0.1 \
--min-self-delegation=1 \
--amount=1000000tki \
--pubkey `kid tendermint show-validator --home ./kid/` \
--moniker=<MY VALIDATOR> \
--chain-id=KiChain-t-1 \
--from=Flug \
-home. -kicli.
ERROR: {"codespace": "sdk", "code":9, "message": "account <TOKEN> does not exist"}
any ideas?
Name : apm-rhvh
Message : Health is Clear
Last Updated Time : Mai 25, 2023 03:11 AM
Severity : Clear
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.