rly transact raw update-client = error "client type not found"
Closed this issue · 4 comments
iammelea commented
after reset my chain and used the same chain-id having problems to keep alive,
cannot update client with ID qasxcfvgbh: client type not found
from scratch create new connections and new client-IDs
rly tx link m_1a
I[2020-05-04|09:16:11.119] ✔ [melea-111]@{1624} - msg(0:create_client) hash(823AEC00CE256D93656CE56FCBCCA3A78A55BF5BECEDF662E9C5E67301724BAE)
I[2020-05-04|09:16:16.211] ✔ [gameofzoneshub-1a]@{15525} - msg(0:create_client) hash(E3B63795AE5BE9CC1EB49DF77F683E7262ED7A6425974780EB42786088BBD044)
I[2020-05-04|09:16:16.211] ★ Clients created: [melea-111]client(qasxcfvgbh) and [gameofzoneshub-1a]client(oijhgbnmju)
I[2020-05-04|09:16:20.936] ✔ [melea-111]@{1626} - msg(0:connection_open_init) hash(4F9B9FCFF119D13CB340D61E379829990941F6AF5AEB7F6F0BDC4F5030D662DE)
I[2020-05-04|09:16:33.058] ✔ [gameofzoneshub-1a]@{15528} - msg(0:update_client,1:connection_open_try) hash(208E5C86EAED0F796F088074BE7AFE97ED2A00483CC033DCD5A6B031BDA1B109)
I[2020-05-04|09:16:38.610] ✘ [gameofzoneshub-1a]@{15529} - msg(0:update_client,1:connection_open_try) err(connection: invalid connection)
I[2020-05-04|09:16:51.481] ✔ [melea-111]@{1632} - msg(0:update_client,1:connection_open_ack) hash(FD2E9AB4A28765699DC2B5A641CA166F77CADCC9C535DD1A15E03F9FC6989A4A)
I[2020-05-04|09:17:01.773] ✘ [melea-111]@{1634} - msg(0:update_client,1:connection_open_ack) err(connection: invalid connection state)
I[2020-05-04|09:17:12.095] ✔ [gameofzoneshub-1a]@{15535} - msg(0:update_client,1:connection_open_confirm) hash(C68AE241F931358BC1B4F48F86A1FC8F795D8BFBC1B83DBDA9270E3DE0353F2E)
I[2020-05-04|09:17:12.095] ★ Connection created: [melea-111]client{qasxcfvgbh}conn{ybppufgnvp} -> [gameofzoneshub-1a]client{oijhgbnmju}conn{hfgrpicyex}
I[2020-05-04|09:17:17.006] ✔ [melea-111]@{1637} - msg(0:channel_open_init) hash(44E31003C77F1C7461FDF468696170DB3ECB95BF6B6846BC1DA3595C3ACC90BF)
I[2020-05-04|09:17:27.187] ✘ [melea-111]@{1639} - msg(0:channel_open_init) err(channels: channel already exists)
I[2020-05-04|09:17:34.377] ✔ [gameofzoneshub-1a]@{15539} - msg(0:update_client,1:channel_open_try) hash(874A4751063E7D0AE649F4A369112300C1EE6A8EA93F9B1EF4337451087B1E70)
I[2020-05-04|09:17:47.479] ✔ [melea-111]@{1643} - msg(0:update_client,1:channel_open_ack) hash(2861A66A2289C78684166EF42F4E4CFE701AA1F6A50E48AEBB848F09A8223DF4)
I[2020-05-04|09:17:57.443] ✘ [melea-111]@{1645} - msg(0:update_client,1:channel_open_ack) err(channels: invalid channel state)
I[2020-05-04|09:18:07.883] ✔ [gameofzoneshub-1a]@{15545} - msg(0:update_client,1:channel_open_confirm) hash(35B9207BDAE80353321539CD74FAAD8C6E082FCDDC4D8ECD8A4937FDF951B547)
I[2020-05-04|09:18:08.028] ★ Channel created: [melea-111]chan{uzdyibgrhq}port{transfer} -> [gameofzoneshub-1a]chan{bcfegwsbqz}port{transfer}
transfer oke
rly tx transfer gameofzoneshub-1a melea-111 1000000doubloons true $(rly ch addr melea-111)
I[2020-05-04|09:34:32.843] ✔ [gameofzoneshub-1a]@{15721} - msg(0:transfer) hash(52541EEF4F5D8A5DC5442F22497AF79D8342EBD58BFC809540D1B81D19126212)
I[2020-05-04|09:34:41.716] ✔ [melea-111]@{1843} - msg(0:update_client,1:ics04/opaque) hash(F9E84FCA279A7B879028213FBC5700B2F8DA089A1D34644BC347C83F1EA23F81)
config.yaml
cat ~/.relayer/config/config.yaml | grep 'client-id\|chain-id'
chain-id: gameofzoneshub-1a
chain-id: melea-111
chain-id: melea-111
client-id: qasxcfvgbh
chain-id: gameofzoneshub-1a
client-id: oijhgbnmju
then
rly transact raw update-client gameofzoneshub-1a melea-111 qasxcfvgbh -d
[{"type":"ibc/client/tendermint/MsgUpdateClient","value":{"client_id":"qasxcfvgbh","header":{"SignedHeader":{"header":{"version":{"block":"10","app":"0"},"chain_id":"melea-111","height":"1648","time":"2020-05-04T16:18:07.368189909Z","last_block_id":{"hash":"EDCFE55F54D65D408EAAD1E965D1447DA266D2D7952A3A760E7CCD550A0653A0","parts":{"total":"1","hash":"A9382A0F222F705BC5881172C40D4AFDF3FB0CCC0E5880080D224739B09FF353"}},"last_commit_hash":"62DA7EA1D0568BD5A98F1971B311023C3EBB9473993064BE9D5496DCC5F6EF38","data_hash":"","validators_hash":"C602E88F160D2E7A858113D6E285CFBBF1E8451619D4217D2F43B798326D5B1A","next_validators_hash":"C602E88F160D2E7A858113D6E285CFBBF1E8451619D4217D2F43B798326D5B1A","consensus_hash":"048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F","app_hash":"648F7F4569FE053E481CE0CECED136D9656680C12BC1FC2CDE2B128C1807AE82","last_results_hash":"","evidence_hash":"","proposer_address":"184F1ABC002DAE0C26AA885541CF4ACF1241CF8E"},"commit":{"height":"1648","round":"0","block_id":{"hash":"B70BB1A980CFC26E54B5E2F1ACF5B1FCB48A72911EB3DD2C1E83E69D44C6161E","parts":{"total":"1","hash":"F94B30481EC92F8B4E7A9D79A967742B6036489B7628C3F8D4F34EEA22485C45"}},"signatures":[{"block_id_flag":2,"validator_address":"184F1ABC002DAE0C26AA885541CF4ACF1241CF8E","timestamp":"2020-05-04T16:18:12.515611653Z","signature":"FnTD3qkFYlL+LsdzhOBsm3tdW2o2jVTZ+t6mAc8Ud7saySyk3+QT3mXOL7J9CCLR8ZJnAgun+AMqW5IgnSYhCw=="}]}},"validator_set":{"validators":[{"address":"184F1ABC002DAE0C26AA885541CF4ACF1241CF8E","pub_key":{"type":"tendermint/PubKeyEd25519","value":"45FW3SX2UKNGgDorVsJvDjaqQWvRyVpyYqabcd98DDk="},"voting_power":"100","proposer_priority":"0"}],"proposer":{"address":"184F1ABC002DAE0C26AA885541CF4ACF1241CF8E","pub_key":{"type":"tendermint/PubKeyEd25519","value":"45FW3SX2UKNGgDorVsJvDjaqQWvRyVpyYqabcd98DDk="},"voting_power":"100","proposer_priority":"0"}}},"address":"cosmos1exwcn4rmcyuf4xfjs722amqrfheng7z8cjfzgn"}}]
{"height":"0","txhash":"14D70F1A76EB7F864B41D2A1311E3EC0B445FABF4BF1D937F299130DAFC260C6","codespace":"client","code":6,"raw_log":"cannot update client with ID qasxcfvgbh: client type not found","gas_wanted":"300000","gas_used":"51247"}
and
rly transact raw update-client gameofzoneshub-1a melea-111 qasxcfvgbh -d
[{"type":"ibc/client/tendermint/MsgUpdateClient","value":{"client_id":"qasxcfvgbh","header":{"SignedHeader":{"header":{"version":{"block":"10","app":"0"},"chain_id":"melea-111","height":"1648","time":"2020-05-04T16:18:07.368189909Z","last_block_id":{"hash":"EDCFE55F54D65D408EAAD1E965D1447DA266D2D7952A3A760E7CCD550A0653A0","parts":{"total":"1","hash":"A9382A0F222F705BC5881172C40D4AFDF3FB0CCC0E5880080D224739B09FF353"}},"last_commit_hash":"62DA7EA1D0568BD5A98F1971B311023C3EBB9473993064BE9D5496DCC5F6EF38","data_hash":"","validators_hash":"C602E88F160D2E7A858113D6E285CFBBF1E8451619D4217D2F43B798326D5B1A","next_validators_hash":"C602E88F160D2E7A858113D6E285CFBBF1E8451619D4217D2F43B798326D5B1A","consensus_hash":"048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F","app_hash":"648F7F4569FE053E481CE0CECED136D9656680C12BC1FC2CDE2B128C1807AE82","last_results_hash":"","evidence_hash":"","proposer_address":"184F1ABC002DAE0C26AA885541CF4ACF1241CF8E"},"commit":{"height":"1648","round":"0","block_id":{"hash":"B70BB1A980CFC26E54B5E2F1ACF5B1FCB48A72911EB3DD2C1E83E69D44C6161E","parts":{"total":"1","hash":"F94B30481EC92F8B4E7A9D79A967742B6036489B7628C3F8D4F34EEA22485C45"}},"signatures":[{"block_id_flag":2,"validator_address":"184F1ABC002DAE0C26AA885541CF4ACF1241CF8E","timestamp":"2020-05-04T16:18:12.515611653Z","signature":"FnTD3qkFYlL+LsdzhOBsm3tdW2o2jVTZ+t6mAc8Ud7saySyk3+QT3mXOL7J9CCLR8ZJnAgun+AMqW5IgnSYhCw=="}]}},"validator_set":{"validators":[{"address":"184F1ABC002DAE0C26AA885541CF4ACF1241CF8E","pub_key":{"type":"tendermint/PubKeyEd25519","value":"45FW3SX2UKNGgDorVsJvDjaqQWvRyVpyYqabcd98DDk="},"voting_power":"100","proposer_priority":"0"}],"proposer":{"address":"184F1ABC002DAE0C26AA885541CF4ACF1241CF8E","pub_key":{"type":"tendermint/PubKeyEd25519","value":"45FW3SX2UKNGgDorVsJvDjaqQWvRyVpyYqabcd98DDk="},"voting_power":"100","proposer_priority":"0"}}},"address":"cosmos1exwcn4rmcyuf4xfjs722amqrfheng7z8cjfzgn"}}]
{"height":"0","txhash":"14D70F1A76EB7F864B41D2A1311E3EC0B445FABF4BF1D937F299130DAFC260C6","codespace":"client","code":6,"raw_log":"cannot update client with ID qasxcfvgbh: client type not found","gas_wanted":"300000","gas_used":"51247"}
then
rly tx relay m_1a
Error: more than one transaction returned with query
find this too after unsafe reset
is bc the old client is up on the hub side. but on m side is killed.
asmodat commented
Related issue: cosmos/relayer#111
iammelea commented
Is solved in last release
asmodat commented
Is solved in last release
which is that ? I am on b617e2b & 2282f8b
iammelea commented
yes, happens again, in the last, reopening