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

fix: relayer start #1142

Merged
merged 5 commits into from
Nov 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions cmd/relayer/start/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,7 @@ Consider using 'services' if you want to run a 'systemd' service instead.
)

fmt.Printf(
`💈 The relayer is running successfully on you local machine!
Channels:
RollApp: %s
<->
Hub: %s`,
"💈 The relayer is running successfully on you local machine!\nChannels:\nRollApp: %s\n<->\nHub: %s\n",
rly.DstChannel,
rly.SrcChannel,
)
Expand Down
30 changes: 15 additions & 15 deletions relayer/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,24 @@ import (
)

type RelayerFileChainConfig struct {
Type string `json:"type"`
Value RelayerFileChainConfigValue `json:"value"`
Type string `yaml:"type" json:"type"`
Value RelayerFileChainConfigValue `yaml:"value" json:"value"`
}

type RelayerFileChainConfigValue struct {
Key string `json:"key"`
ChainID string `json:"chain-id"`
RpcAddr string `json:"rpc-addr"`
ApiAddr string `json:"http-addr"`
AccountPrefix string `json:"account-prefix"`
KeyringBackend string `json:"keyring-backend"`
GasAdjustment float64 `json:"gas-adjustment"`
GasPrices string `json:"gas-prices"`
Debug bool `json:"debug"`
Timeout string `json:"timeout"`
OutputFormat string `json:"output-format"`
SignMode string `json:"sign-mode"`
ExtraCodecs []string `json:"extra-codecs"`
Key string `yaml:"key" json:"key"`
ChainID string `yaml:"chain-id" json:"chain-id"`
RpcAddr string `yaml:"rpc-addr" json:"rpc-addr"`
ApiAddr string `yaml:"http-addr" json:"http-addr"`
AccountPrefix string `yaml:"account-prefix" json:"account-prefix"`
KeyringBackend string `yaml:"keyring-backend" json:"keyring-backend"`
GasAdjustment float64 `yaml:"gas-adjustment" json:"gas-adjustment"`
GasPrices string `yaml:"gas-prices" json:"gas-prices"`
Debug bool `yaml:"debug" json:"debug"`
Timeout string `yaml:"timeout" json:"timeout"`
OutputFormat string `yaml:"output-format" json:"output-format"`
SignMode string `yaml:"sign-mode" json:"sign-mode"`
ExtraCodecs []string `yaml:"extra-codecs" json:"extra-codecs"`
}

type RelayerChainConfig struct {
Expand Down
Loading