tendermint / light-client

DEPRECATED: A light client for tendermint, supporting signatures, proofs, and validation (see github.com/tendermint/tendermint/lite)
Other
17 stars 9 forks source link

basecli accepts everything even without init #20

Closed adrianbrink closed 7 years ago

adrianbrink commented 7 years ago

My folder only contains the keys directory. Running basecli --chainid ball-n-chain --node tcp://146.185.166.215:46657 proof state get --app=account --key=98F28277FA8C512968BBDE443F5DB27AC743F814 still works and does not complain, even though a lot of the essential files are missing.

melekes commented 7 years ago

What files are you talking exactly? genesis files (both tendermint and basecoin) are stored on nodes

ethanfrey commented 7 years ago

Yup, it should make a seeds directory on init. And if it is missing should return an error.

I will fix this to return a sensible error, like "init with trusted validators before using"

ethanfrey commented 7 years ago

Resolved by #30