diff --git a/relayer/hermes/hermes_config.go b/relayer/hermes/hermes_config.go index b190c1882..5c1d90771 100644 --- a/relayer/hermes/hermes_config.go +++ b/relayer/hermes/hermes_config.go @@ -19,9 +19,10 @@ func NewConfig(chainConfigs ...ChainConfig) Config { } chains = append(chains, Chain{ - ID: chainCfg.ChainID, - RPCAddr: hermesCfg.rpcAddr, - GrpcAddr: fmt.Sprintf("http://%s", hermesCfg.grpcAddr), + ID: chainCfg.ChainID, + RPCAddr: hermesCfg.rpcAddr, + CCVConsumerChain: false, + GrpcAddr: fmt.Sprintf("http://%s", hermesCfg.grpcAddr), EventSource: EventSource{ Mode: "push", URL: strings.ReplaceAll(fmt.Sprintf("%s/websocket", hermesCfg.rpcAddr), "http", "ws"), @@ -171,24 +172,25 @@ type TrustThreshold struct { } type Chain struct { - ID string `toml:"id"` - RPCAddr string `toml:"rpc_addr"` - GrpcAddr string `toml:"grpc_addr"` - EventSource EventSource `toml:"event_source"` - RPCTimeout string `toml:"rpc_timeout"` - AccountPrefix string `toml:"account_prefix"` - KeyName string `toml:"key_name"` - AddressType AddressType `toml:"address_type"` - StorePrefix string `toml:"store_prefix"` - DefaultGas int `toml:"default_gas"` - MaxGas int `toml:"max_gas"` - GasPrice GasPrice `toml:"gas_price"` - GasMultiplier float64 `toml:"gas_multiplier"` - MaxMsgNum int `toml:"max_msg_num"` - MaxTxSize int `toml:"max_tx_size"` - ClockDrift string `toml:"clock_drift"` - MaxBlockTime string `toml:"max_block_time"` - TrustingPeriod string `toml:"trusting_period"` - TrustThreshold TrustThreshold `toml:"trust_threshold"` - MemoPrefix string `toml:"memo_prefix,omitempty"` + ID string `toml:"id"` + RPCAddr string `toml:"rpc_addr"` + GrpcAddr string `toml:"grpc_addr"` + EventSource EventSource `toml:"event_source"` + CCVConsumerChain bool `toml:"ccv_consumer_chain"` + RPCTimeout string `toml:"rpc_timeout"` + AccountPrefix string `toml:"account_prefix"` + KeyName string `toml:"key_name"` + AddressType AddressType `toml:"address_type"` + StorePrefix string `toml:"store_prefix"` + DefaultGas int `toml:"default_gas"` + MaxGas int `toml:"max_gas"` + GasPrice GasPrice `toml:"gas_price"` + GasMultiplier float64 `toml:"gas_multiplier"` + MaxMsgNum int `toml:"max_msg_num"` + MaxTxSize int `toml:"max_tx_size"` + ClockDrift string `toml:"clock_drift"` + MaxBlockTime string `toml:"max_block_time"` + TrustingPeriod string `toml:"trusting_period"` + TrustThreshold TrustThreshold `toml:"trust_threshold"` + MemoPrefix string `toml:"memo_prefix,omitempty"` }