Code Monkey home page Code Monkey logo

ki-tools's People

Contributors

alessio avatar alexanderbez avatar colin-axner avatar dcwalk avatar dependabot-preview[bot] avatar dependabot[bot] avatar dogemos avatar dongsam avatar ethanfrey avatar faddat avatar fedekunze avatar gamarin2 avatar jelena647 avatar jgimeno avatar judotki avatar npinto avatar okwme avatar psh4nk avatar rigelrozanski avatar sabau avatar shahankhatch avatar smadarasmi avatar soniasingla avatar tac0turtle avatar tarekawwad avatar wimel avatar winternis avatar yaruwangway avatar zmanian avatar zramsay avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ki-tools's Issues

Error connecting to peers

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

Compilation / install process fails

Summary of Bugs

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

Version

commit ID: 573b732

Steps to Reproduce

Run the commands of README.md on a fresh install

Kichain genesis file is corrupted

Summary of Bug

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

Version

$ kid version
Mainnet-IBC-main-3fbf23ed576464f613240614659733af8e929be0

Steps to Reproduce

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

For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned

There is no kicli for cosmos 0.42

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

wallet address possible mismatch

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?

Hacunama

Summary of Bug

Version

Steps to Reproduce


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.