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] Patch minor #22

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion cmd/chains.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func chainsShowCmd(app *relayer.App) *cobra.Command {
cmd := &cobra.Command{
Use: "show [chain_name]",
Aliases: []string{"s"},
Short: "Return a chain's configuration data",
Short: "Return chain's configuration data",
Args: withUsage(cobra.ExactArgs(1)),
Example: strings.TrimSpace(fmt.Sprintf(`
$ %s ch s eth
Expand Down
2 changes: 1 addition & 1 deletion cmd/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func configInitCmd(app *relayer.App) *cobra.Command {
cmd := &cobra.Command{
Use: "init",
Aliases: []string{"i"},
Short: "Create a default configuration at home directory path defined by --home",
Short: "Create a default configuration at home directory path",
Args: withUsage(cobra.NoArgs),
Example: strings.TrimSpace(fmt.Sprintf(`
$ %s config init --home %s
Expand Down
2 changes: 1 addition & 1 deletion cmd/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func queryCmd(app *relayer.App) *cobra.Command {
cmd := &cobra.Command{
Use: "query",
Aliases: []string{"q"},
Short: "Query commands on source and destination chains.",
Short: "Query commands on source and destination chains",
}

cmd.AddCommand(
Expand Down
12 changes: 6 additions & 6 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ func NewRootCmd(log *zap.Logger) *cobra.Command {
// RootCmd represents the base command when called without any subcommands
rootCmd := &cobra.Command{
Use: appName,
Short: "This application relays tunnel messages to the target chains/contracts.",
Long: strings.TrimSpace(`falcon has:
1. Configuration management for destination chains
2. Key management for managing multiple keys for multiple chains
3. transaction Execution functionality on destination chains.
4. Query functionality on source and destination chains.
Short: "Falcon relays tss tunnel messages from BandChain to destination chains/smart contracts",
Long: strings.TrimSpace(`This application has:
1. Configuration Management: Handles the configuration of the program.
2. Key Management: Supports managing multiple keys across multiple chains.
3. Transaction Execution: Enables executing transactions on destination chains.
4. Query Functionality: Facilitates querying data from both source and destination chains.

NOTE: Most of the commands have aliases that make typing them much quicker
(i.e. 'falcon tx', 'falcon q', etc...)`),
Expand Down
2 changes: 1 addition & 1 deletion cmd/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func startCmd(app *relayer.App) *cobra.Command {
cmd := &cobra.Command{
Use: "start [tunnel_id...]",
Aliases: []string{"st"},
Short: "Start the falcon tunnel relayer system.",
Short: "Start the falcon tunnel relayer program",
Args: withUsage(cobra.MinimumNArgs(0)),
Example: strings.TrimSpace(fmt.Sprintf(`
$ %s start # start relaying data from every tunnel being registered on source chain.
Expand Down
24 changes: 12 additions & 12 deletions internal/relayertest/mocks/chain_provider.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion internal/relayertest/testdata/chain_config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ max_retry = 3
query_timeout = 3000000000
chain_id = 31337
tunnel_router_address = '0xDc64a140Aa3E981100a9becA4E685f962f0cF6C9'
private_key = ''
block_confirmation = 5
waiting_tx_duration = 3000000000
checking_tx_interval = 1000000000
Expand Down
1 change: 0 additions & 1 deletion internal/relayertest/testdata/custom_config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ query_timeout = 3000000000
execute_timeout = 3000000000
chain_id = 31337
tunnel_router_address = '0xDc64a140Aa3E981100a9becA4E685f962f0cF6C9'
private_key = ''
block_confirmation = 5
waiting_tx_duration = 3000000000
liveliness_checking_interval = 900000000000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ query_timeout = '3s'
execute_timeout = '3s'
chain_id = 31337
tunnel_router_address = '0xDc64a140Aa3E981100a9becA4E685f962f0cF6C9'
private_key = ''
block_confirmation = 5
waiting_tx_duration = 3000000000
liveliness_checking_interval = '15m'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ query_timeout = 3000000000
execute_timeout = 3000000000
chain_id = 31337
tunnel_router_address = '0xDc64a140Aa3E981100a9becA4E685f962f0cF6C9'
private_key = ''
block_confirmation = 5
waiting_tx_duration = 3000000000
liveliness_checking_interval = 900000000000
Expand Down
Loading
Loading