You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hermes query client status --chain ccv-1 --client 07-tendermint-0 2024-12-17T17:18:20.125168Z INFO ThreadId(01) using default configuration from '/Users/username/.hermes/config.toml' 2024-12-17T17:18:20.126545Z INFO ThreadId(01) running Hermes v1.10.4+542e14f 2024-12-17T17:18:20.465493Z WARN ThreadId(01) Failed to fetch version specs for chain 'ccv-1': ABCI query returned an error: AbciQuery { code: Err(26), log: "interchain-security-c is not ready; please wait for first block: invalid height", info: "", index: 0, key: [], value: [], proof: None, height: block::Height(0), codespace: "sdk" } 2024-12-17T17:18:20.465915Z WARN ThreadId(01) Will fall back on using the node version: 0.38.9 ERROR error decoding protobuf: error converting message type into domain type: the client state was not found
also when i run hermes start I always get the error
2024-12-17T17:14:00.485616Z ERROR ThreadId(01) spawn: failed to spawn worker for a chain, reason: query: gRPC call query_clients failed with status: status: Unknown, message: "codespace sdk code 26: invalid height: interchain-security-c is not ready; please wait for first block", details: [], metadata: MetadataMap { headers: {"content-type": "application/grpc"} } 2024-12-17T17:14:00.494022Z DEBUG ThreadId(19) event_so
So, if I understood correctly, in order to validate the first block of the consumer chain, there has to be an active IBC channel in order to send the validator set from the provider to the consumer.
But in order to establish a proper connection, the consumer needs to be at least at height 1 (i.e. have the 1 block validated) 🤯
Quite a dead end here!
I'd really appreciate any sort of help here...Even just to figure out if it is a relayer issue or a interchain-security issue...
Here is the hermes .config file:
[global]
log_level = "debug"
[mode]
[mode.clients]
enabled = true
refresh = true
misbehaviour = true
[mode.connections]
enabled = true
[mode.channels]
enabled = true
[mode.packets]
enabled = true
clear_interval = 100
clear_on_start = true
tx_confirmation = false
auto_register_counterparty_payee = false
[[chains]]
id = "provider"
type = "CosmosSdk"
rpc_addr = "http://localhost:26658" # Replace with the correct RPC address of the provider chain
grpc_addr = "http://localhost:9091" # Replace with the correct gRPC address of the provider chain
rpc_timeout = "10s"
account_prefix = "cosmos" # Change if your provider chain has a different prefix
key_name = "prov-key" # Name of the key you will import into Hermes
store_prefix = "ibc"
default_gas = 1000000
max_gas = 4000000
gas_multiplier = 1.5
max_msg_num = 30
max_tx_size = 180000
max_grpc_decoding_size = 33554432
clock_drift = "5s"
max_block_time = "30s"
ccv_consumer_chain = false
memo_prefix = ""
sequential_batch_tx = false
[chains.event_source]
mode = "push"
url = "ws://localhost:26658/websocket"
batch_delay = "500ms"
[chains.trust_threshold]
numerator = "1"
denominator = "3"
[chains.gas_price]
price = 0.025
denom = "stake"
[chains.packet_filter]
policy = "allow"
list = [["transfer", "channel-1"], ["ccv-provider", "*"], ["ccv-consumer", "*"]]
[chains.packet_filter.min_fees]
[chains.address_type]
derivation = "cosmos"
[[chains]]
id = "ccv-1"
type = "CosmosSdk"
rpc_addr = "http://localhost:26657" # Replace with the correct RPC address of the consumer chain
grpc_addr = "http://localhost:9090" # Replace with the correct gRPC address of the consumer chain
rpc_timeout = "10s"
account_prefix = "cosmos" # Change if your consumer chain has a different prefix
key_name = "cons-key" # Name of the key you will import into Hermes
key_store_type = "Test"
store_prefix = "ibc"
default_gas = 2000000
max_gas = 4000000
gas_multiplier = 1.5
max_msg_num = 30
max_tx_size = 180000
max_grpc_decoding_size = 33554432
clock_drift = "5s"
max_block_time = "30s"
memo_prefix = ""
sequential_batch_tx = false
ccv_consumer_chain = true
[chains.event_source]
mode = "push"
url = "ws://localhost:26657/websocket"
batch_delay = "500ms"
[chains.trust_threshold]
numerator = "1"
denominator = "3"
[chains.gas_price]
price = 0.1
denom = "stake"
[chains.packet_filter]
policy = "allow"
list = [["transfer", "channel-1"], ["ccv-provider", "*"], ["ccv-consumer", "*"]]
[chains.packet_filter.min_fees]
[chains.address_type]
derivation = "cosmos"
The text was updated successfully, but these errors were encountered:
Hi,
I have a problem to get the provider to validate the consumer (running both locally on the same machine).
I've followed this article [https://tutorials.ignite.com/build-your-interchain-security-consumer-chain/]
And to summarise the steps:
interchain-security-cd
binaryNow the next step would be:
hermes create connection --a-chain <consumer chain ID> --a-client 07-tendermint-0 --b-client <provider chain client ID>
and here is where I get the error:
hermes query client status --chain ccv-1 --client 07-tendermint-0 2024-12-17T17:18:20.125168Z INFO ThreadId(01) using default configuration from '/Users/username/.hermes/config.toml' 2024-12-17T17:18:20.126545Z INFO ThreadId(01) running Hermes v1.10.4+542e14f 2024-12-17T17:18:20.465493Z WARN ThreadId(01) Failed to fetch version specs for chain 'ccv-1': ABCI query returned an error: AbciQuery { code: Err(26), log: "interchain-security-c is not ready; please wait for first block: invalid height", info: "", index: 0, key: [], value: [], proof: None, height: block::Height(0), codespace: "sdk" } 2024-12-17T17:18:20.465915Z WARN ThreadId(01) Will fall back on using the node version: 0.38.9 ERROR error decoding protobuf: error converting message type into domain type: the client state was not found
also when i run
hermes start
I always get the error2024-12-17T17:14:00.485616Z ERROR ThreadId(01) spawn: failed to spawn worker for a chain, reason: query: gRPC call
query_clientsfailed with status: status: Unknown, message: "codespace sdk code 26: invalid height: interchain-security-c is not ready; please wait for first block", details: [], metadata: MetadataMap { headers: {"content-type": "application/grpc"} } 2024-12-17T17:14:00.494022Z DEBUG ThreadId(19) event_so
So, if I understood correctly, in order to validate the first block of the consumer chain, there has to be an active IBC channel in order to send the validator set from the provider to the consumer.
But in order to establish a proper connection, the consumer needs to be at least at height 1 (i.e. have the 1 block validated) 🤯
Quite a dead end here!
I'd really appreciate any sort of help here...Even just to figure out if it is a relayer issue or a interchain-security issue...
Here is the hermes .config file:
The text was updated successfully, but these errors were encountered: