confio / ts-relayer

IBC Relayer in TypeScript
MIT License
110 stars 63 forks source link

error: registry.yaml validation failed. #240

Open berelton opened 2 years ago

berelton commented 2 years ago

Hi, getting this error from latest:

# ibc-setup init --src malaga --dest uni
error: registry.yaml validation failed.
"/chains/malaga/estimated_block_time" should be number
"/chains/malaga/estimated_indexer_time" should be number
"/chains/local_wasm/estimated_block_time" should be number
"/chains/local_wasm/estimated_indexer_time" should be number
"/chains/local_gaia/estimated_block_time" should be number
"/chains/local_gaia/estimated_indexer_time" should be number
"/chains/local_osmo/estimated_block_time" should be number
"/chains/local_osmo/estimated_indexer_time" should be number
"/chains/cosmoshub-4/estimated_block_time" should be number
"/chains/cosmoshub-4/estimated_indexer_time" should be number
"/chains/juno/estimated_block_time" should be number
"/chains/juno/estimated_indexer_time" should be number
"/chains/uni/estimated_block_time" should be number
"/chains/uni/estimated_indexer_time" should be number
"/chains/osmosis/estimated_block_time" should be number
"/chains/osmosis/estimated_indexer_time" should be number
# node -v
v16.16.0
# npm -v
8.11.0
berelton commented 2 years ago

@ethanfrey any idea about this?

schnetzlerjoe commented 2 years ago

@ethanfrey any idea about this?

You need to take away comma (,) from end of numbers in yaml file.