cosmos / relayer-archive

An example of a server side IBC relayer to be used for Game of Zones and beyond
56 stars 31 forks source link

lite: use flags instead of parsing args #16

Closed melekes closed 4 years ago

melekes commented 4 years ago

also, remove init-force and update-force: seem redundant to me. feel free to revert.

see my notes on UpdateLiteDBToLatestHeader and usage of --url and --force flags, which are not currently used at all.

melekes commented 4 years ago
⚡ » ../build/relayer lite init ibc0 --height=15 --hash=EB41A099DB213D2AF04931D5227B83C3BEBF97AB05C0BBC373E536F7E4DFE0DD --home=$RLY
I[2020-02-12|11:26:57.469] VerifyHeader                                 height=85417CA9B05169402CC4898E289820121CB46973D59A7C26E0DE5AB1E3247B2E newVals=1D1FE976EC97D7472FA043A9AAA940FB36665D715BD083C0525FA1068D8553C1
D[2020-02-12|11:26:57.471] Verify newHeader against lastHeader          lastHeight=15 lastHash=EB41A099DB213D2AF04931D5227B83C3BEBF97AB05C0BBC373E536F7E4DFE0DD newHeight=30 newHash=85417CA9B05169402CC4898E289820121CB46973D59A7C26E0DE5AB1E3247B2E
I[2020-02-12|11:26:57.480] Advanced to new state                        height=30 hash=85417CA9B05169402CC4898E289820121CB46973D59A7C26E0DE5AB1E3247B2E