Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error is occurred on v2.4.1 failed to find a matching client for the new client state #1310

Open
meetrick opened this issue Oct 16, 2023 · 2 comments

Comments

@meetrick
Copy link
Contributor

Hi, Frenz. I got an error executing the command below.

rly tx link persistence-kava --home "home path"
2023-10-16T05:23:19.689164Z	info	Failed to query clients	{"chain_id": "kava_2222-10", "attempt": 1, "max_attempts": 5, "error": "no concrete type registered for type URL /ibc.lightclients.solomachine.v2.ClientState against interface *exported.ClientState"}
2023-10-16T05:23:20.568084Z	info	Failed to query clients	{"chain_id": "kava_2222-10", "attempt": 2, "max_attempts": 5, "error": "no concrete type registered for type URL /ibc.lightclients.solomachine.v2.ClientState against interface *exported.ClientState"}
2023-10-16T05:23:21.548316Z	info	Failed to query clients	{"chain_id": "kava_2222-10", "attempt": 3, "max_attempts": 5, "error": "no concrete type registered for type URL /ibc.lightclients.solomachine.v2.ClientState against interface *exported.ClientState"}
2023-10-16T05:23:24.194343Z	info	Failed to query clients	{"chain_id": "kava_2222-10", "attempt": 4, "max_attempts": 5, "error": "no concrete type registered for type URL /ibc.lightclients.solomachine.v2.ClientState against interface *exported.ClientState"}
2023-10-16T05:23:27.517653Z	info	Failed to query clients	{"chain_id": "kava_2222-10", "attempt": 5, "max_attempts": 5, "error": "no concrete type registered for type URL /ibc.lightclients.solomachine.v2.ClientState against interface *exported.ClientState"}
Error: error creating clients: failed to create client on dst chain{kava_2222-10}: failed to find a matching client for the new client state: no concrete type registered for type URL /ibc.lightclients.solomachine.v2.ClientState against interface *exported.ClientState

I've looked at the issue below, and while it was said to be fixed in v2.4.1.

@agouin
Copy link
Member

agouin commented Oct 17, 2023

Hi @meetrick, thank you for your report. We will investigate this, but a workaround in the meantime is to pass the --override flag, which will avoid the initial query to check for existing clients, and will make new clients regardless.

@parveenkaushikmajra
Copy link

parveenkaushikmajra commented Oct 26, 2023

@agouin the error is still same

2023-10-25T11:56:00.158683Z debug Creating client {"src_chain_id": "pk9lab", "dst_chain_id": "pk7lab", "dst_header_height": 12488, "trust_period": 1540800} 2023-10-25T11:56:00.159162Z debug Creating client {"src_chain_id": "pk7lab", "dst_chain_id": "pk9lab", "dst_header_height": 763, "trust_period": 1540800} 2023-10-25T11:56:00.160191Z info Failed to query clients {"chain_id": "pk9lab", "attempt": 1, "max_attempts": 5, "error": "rpc error: code = Unknown desc = unknown query path: unknown request"} 2023-10-25T11:56:00.160548Z debug No client found on source chain tracking the state of counterparty chain; creating client {"src_chain_id": "pk7lab", "dst_chain_id": "pk9lab"} 2023-10-25T11:56:00.589833Z info Failed to query clients {"chain_id": "pk9lab", "attempt": 2, "max_attempts": 5, "error": "rpc error: code = Unknown desc = unknown query path: unknown request"} 2023-10-25T11:56:01.441911Z info Failed to query clients {"chain_id": "pk9lab", "attempt": 3, "max_attempts": 5, "error": "rpc error: code = Unknown desc = unknown query path: unknown request"} 2023-10-25T11:56:03.138159Z info Failed to query clients {"chain_id": "pk9lab", "attempt": 4, "max_attempts": 5, "error": "rpc error: code = Unknown desc = unknown query path: unknown request"} 2023-10-25T11:56:06.380174Z info Failed to query clients {"chain_id": "pk9lab", "attempt": 5, "max_attempts": 5, "error": "rpc error: code = Unknown desc = unknown query path: unknown request"} 2023-10-25T11:56:06.465239Z info Error building or broadcasting transaction {"provider_type": "cosmos", "chain_id": "pk7lab", "attempt": 1, "max_attempts": 5, "error": "rpc error: code = NotFound desc = rpc error: code = NotFound desc = account osmo1qrtehg704jz4uh4zn0rqdue35u2ejggmm5pnv6 not found: key not found"} 2023-10-25T11:56:06.465268Z info Failed sending transaction {"chain_id": "pk7lab", "msg-0": {"msg_json": "{\"client_state\":{\"chain_id\":\"pk9lab\",\"trust_level\":{\"numerator\":\"1\",\"denominator\":\"3\"},\"trusting_period\":\"1540800000000000\",\"unbonding_period\":\"1814400000000000\",\"max_clock_drift\":\"600000000000\",\"frozen_height\":{},\"latest_height\":{\"revision_height\":\"763\"},\"proof_specs\":[{\"leaf_spec\":{\"hash\":1,\"prehash_value\":1,\"length\":1,\"prefix\":\"AA==\"},\"inner_spec\":{\"child_order\":[0,1],\"child_size\":33,\"min_prefix_length\":4,\"max_prefix_length\":12,\"hash\":1}},{\"leaf_spec\":{\"hash\":1,\"prehash_value\":1,\"length\":1,\"prefix\":\"AA==\"},\"inner_spec\":{\"child_order\":[0,1],\"child_size\":32,\"min_prefix_length\":1,\"max_prefix_length\":1,\"hash\":1}}],\"upgrade_path\":[\"upgrade\",\"upgradedIBCState\"],\"allow_update_after_expiry\":true,\"allow_update_after_misbehaviour\":true},\"consensus_state\":{\"timestamp\":\"2023-10-25T11:55:50.543190107Z\",\"root\":{\"hash\":\"E55pThdi20DyjRfsKWYXLhw3H4yKUVlDKrMSsdjO+aI=\"},\"next_validators_hash\":\"30C7213DD4386972A575524D3FF425BD26EEAAE30A4D75CE1ED17CE7C8572A01\"},\"signer\":\"osmo1qrtehg704jz4uh4zn0rqdue35u2ejggmm5pnv6\"}"}, "error": "context canceled"} Error: error creating clients: failed to create client on src chain{pk9lab}: failed to find a matching client for the new client state: rpc error: code = Unknown desc = unknown query path: unknown request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants