synapseweb3 / forcerelay

Apache License 2.0
10 stars 8 forks source link

bug: fix searching `client_id` in `config.toml` in ckb4ibc monitor #340

Closed ashuralyk closed 1 year ago

ashuralyk commented 1 year ago

Description

while the generation of client_id in ckb4ibc monitor is assumed the counterparty is ckb4ibc itself, the test between ckb and axon will trigger an unwrap error because there is no ckb4ibc chain installed in config.toml file, it's axon chain instead

blckngm commented 1 year ago

There's also a fix here: https://github.com/synapseweb3/forcerelay/pull/332/files#diff-bd738465789eac4c814d5379f1cbd380a8c8f9af159265b7b135fa3e23ed8002

The client type hash has already been retrieved, so it's not necessary to get client id from config again.

ashuralyk commented 1 year ago

There's also a fix here: https://github.com/synapseweb3/forcerelay/pull/332/files#diff-bd738465789eac4c814d5379f1cbd380a8c8f9af159265b7b135fa3e23ed8002

The client type hash has already been retrieved, so it's not necessary to get client id from config again.

OK, got, I'll close it later