From eb9d228881066f85d1ea68598f62da558585c030 Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Mon, 13 Nov 2023 12:03:03 +0100 Subject: [PATCH 1/6] fix: use better default rpc --- docs/docs/07-packages/cosmostxcollector.md | 2 +- docs/docs/08-references/01-cli.md | 16 ++++++++-------- ignite/cmd/node.go | 2 +- ignite/cmd/relayer_configure.go | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/docs/07-packages/cosmostxcollector.md b/docs/docs/07-packages/cosmostxcollector.md index c38fc2d3d5..62047e4ff9 100644 --- a/docs/docs/07-packages/cosmostxcollector.md +++ b/docs/docs/07-packages/cosmostxcollector.md @@ -51,7 +51,7 @@ const ( dbName = "cosmos" // Cosmos RPC address - rpcAddr = "https://rpc.cosmos.network:443" + rpcAddr = "https://rpc.cosmos.directory:443/cosmoshub" ) func collect(ctx context.Context, db postgres.Adapter) error { diff --git a/docs/docs/08-references/01-cli.md b/docs/docs/08-references/01-cli.md index 27243d2fb0..94c9764ddb 100644 --- a/docs/docs/08-references/01-cli.md +++ b/docs/docs/08-references/01-cli.md @@ -2814,7 +2814,7 @@ Make requests to a live blockchain node ``` -h, --help help for node - --node string : to tendermint rpc interface for this chain (default "https://rpc.cosmos.network:443") + --node string : to tendermint rpc interface for this chain (default "https://rpc.cosmos.directory:443/cosmoshub") ``` **SEE ALSO** @@ -2837,7 +2837,7 @@ Querying subcommands **Options inherited from parent commands** ``` - --node string : to tendermint rpc interface for this chain (default "https://rpc.cosmos.network:443") + --node string : to tendermint rpc interface for this chain (default "https://rpc.cosmos.directory/cosmoshub:443") ``` **SEE ALSO** @@ -2860,7 +2860,7 @@ Querying commands for the bank module **Options inherited from parent commands** ``` - --node string : to tendermint rpc interface for this chain (default "https://rpc.cosmos.network:443") + --node string : to tendermint rpc interface for this chain (default "https://rpc.cosmos.directory/cosmoshub:443") ``` **SEE ALSO** @@ -2896,7 +2896,7 @@ ignite node query bank balances [from_account_or_address] [flags] **Options inherited from parent commands** ``` - --node string : to tendermint rpc interface for this chain (default "https://rpc.cosmos.network:443") + --node string : to tendermint rpc interface for this chain (default "https://rpc.cosmos.directory/cosmoshub:443") ``` **SEE ALSO** @@ -2921,7 +2921,7 @@ ignite node query tx [hash] [flags] **Options inherited from parent commands** ``` - --node string : to tendermint rpc interface for this chain (default "https://rpc.cosmos.network:443") + --node string : to tendermint rpc interface for this chain (default "https://rpc.cosmos.directory/cosmoshub:443") ``` **SEE ALSO** @@ -2951,7 +2951,7 @@ Transactions subcommands **Options inherited from parent commands** ``` - --node string : to tendermint rpc interface for this chain (default "https://rpc.cosmos.network:443") + --node string : to tendermint rpc interface for this chain (default "https://rpc.cosmos.directory/cosmoshub:443") ``` **SEE ALSO** @@ -2982,7 +2982,7 @@ Bank transaction subcommands --home string directory where the blockchain node is initialized --keyring-backend string keyring backend to store your account keys (default "test") --keyring-dir string accounts keyring directory (default "/home/runner/.ignite/accounts") - --node string : to tendermint rpc interface for this chain (default "https://rpc.cosmos.network:443") + --node string : to tendermint rpc interface for this chain (default "https://rpc.cosmos.directory/cosmoshub:443") ``` **SEE ALSO** @@ -3017,7 +3017,7 @@ ignite node tx bank send [from_account_or_address] [to_account_or_address] [amou --home string directory where the blockchain node is initialized --keyring-backend string keyring backend to store your account keys (default "test") --keyring-dir string accounts keyring directory (default "/home/runner/.ignite/accounts") - --node string : to tendermint rpc interface for this chain (default "https://rpc.cosmos.network:443") + --node string : to tendermint rpc interface for this chain (default "https://rpc.cosmos.directory/cosmoshub:443") ``` **SEE ALSO** diff --git a/ignite/cmd/node.go b/ignite/cmd/node.go index 877b309061..64e6f9c68c 100644 --- a/ignite/cmd/node.go +++ b/ignite/cmd/node.go @@ -10,7 +10,7 @@ import ( const ( flagNode = "node" - cosmosRPCAddress = "https://rpc.cosmos.network:443" + cosmosRPCAddress = "https://rpc.cosmos.directory:443/cosmoshub" ) func NewNode() *cobra.Command { diff --git a/ignite/cmd/relayer_configure.go b/ignite/cmd/relayer_configure.go index 5613834fec..10f8800aae 100644 --- a/ignite/cmd/relayer_configure.go +++ b/ignite/cmd/relayer_configure.go @@ -42,7 +42,7 @@ const ( RelayerTarget = "target" defaultSourceRPCAddress = "http://localhost:26657" - defaultTargetRPCAddress = "https://rpc.cosmos.network:443" + defaultTargetRPCAddress = "https://rpc.cosmos.directory:443/cosmoshub" defautSourceGasPrice = "0.00025stake" defautTargetGasPrice = "0.025uatom" From f89847047957bd28693815568327f06fb10e52df Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Mon, 13 Nov 2023 12:39:36 +0100 Subject: [PATCH 2/6] fix --- docs/docs/08-references/01-cli.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/08-references/01-cli.md b/docs/docs/08-references/01-cli.md index 94c9764ddb..02d67fdeff 100644 --- a/docs/docs/08-references/01-cli.md +++ b/docs/docs/08-references/01-cli.md @@ -2837,7 +2837,7 @@ Querying subcommands **Options inherited from parent commands** ``` - --node string : to tendermint rpc interface for this chain (default "https://rpc.cosmos.directory/cosmoshub:443") + --node string : to tendermint rpc interface for this chain (default "https://rpc.cosmos.directory:443/cosmoshub") ``` **SEE ALSO** From 930b90acb049293a80fd50fdf32360b11c00a343 Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Mon, 13 Nov 2023 13:52:20 +0100 Subject: [PATCH 3/6] fixes --- docs/docs/08-references/01-cli.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/docs/08-references/01-cli.md b/docs/docs/08-references/01-cli.md index 02d67fdeff..f08640a771 100644 --- a/docs/docs/08-references/01-cli.md +++ b/docs/docs/08-references/01-cli.md @@ -2860,7 +2860,7 @@ Querying commands for the bank module **Options inherited from parent commands** ``` - --node string : to tendermint rpc interface for this chain (default "https://rpc.cosmos.directory/cosmoshub:443") + --node string : to tendermint rpc interface for this chain (default "https://rpc.cosmos.directory:443/cosmoshub") ``` **SEE ALSO** @@ -2896,7 +2896,7 @@ ignite node query bank balances [from_account_or_address] [flags] **Options inherited from parent commands** ``` - --node string : to tendermint rpc interface for this chain (default "https://rpc.cosmos.directory/cosmoshub:443") + --node string : to tendermint rpc interface for this chain (default "https://rpc.cosmos.directory:443/cosmoshub") ``` **SEE ALSO** @@ -2921,7 +2921,7 @@ ignite node query tx [hash] [flags] **Options inherited from parent commands** ``` - --node string : to tendermint rpc interface for this chain (default "https://rpc.cosmos.directory/cosmoshub:443") + --node string : to tendermint rpc interface for this chain (default "https://rpc.cosmos.directory:443/cosmoshub") ``` **SEE ALSO** @@ -2951,7 +2951,7 @@ Transactions subcommands **Options inherited from parent commands** ``` - --node string : to tendermint rpc interface for this chain (default "https://rpc.cosmos.directory/cosmoshub:443") + --node string : to tendermint rpc interface for this chain (default "https://rpc.cosmos.directory:443/cosmoshub") ``` **SEE ALSO** @@ -2982,7 +2982,7 @@ Bank transaction subcommands --home string directory where the blockchain node is initialized --keyring-backend string keyring backend to store your account keys (default "test") --keyring-dir string accounts keyring directory (default "/home/runner/.ignite/accounts") - --node string : to tendermint rpc interface for this chain (default "https://rpc.cosmos.directory/cosmoshub:443") + --node string : to tendermint rpc interface for this chain (default "https://rpc.cosmos.directory:443/cosmoshub") ``` **SEE ALSO** @@ -3017,7 +3017,7 @@ ignite node tx bank send [from_account_or_address] [to_account_or_address] [amou --home string directory where the blockchain node is initialized --keyring-backend string keyring backend to store your account keys (default "test") --keyring-dir string accounts keyring directory (default "/home/runner/.ignite/accounts") - --node string : to tendermint rpc interface for this chain (default "https://rpc.cosmos.directory/cosmoshub:443") + --node string : to tendermint rpc interface for this chain (default "https://rpc.cosmos.directory:443/cosmoshub") ``` **SEE ALSO** From a8ce492e8e00fb12ab511cc77c08c1584fb0bb15 Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Mon, 13 Nov 2023 14:14:01 +0100 Subject: [PATCH 4/6] changelog --- changelog.md | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/changelog.md b/changelog.md index 1dc1d03e52..6014d65d9c 100644 --- a/changelog.md +++ b/changelog.md @@ -6,15 +6,6 @@ - [#3544](https://github.com/ignite/cli/pull/3544) Add bidirectional communication to plugin system - [#3561](https://github.com/ignite/cli/pull/3561) Add GetChainInfo method to plugin system API - -### Changes - -- [#3529](https://github.com/ignite/cli/pull/3529) Refactor plugin system to use gRPC - -## [`v0.27.1`](https://github.com/ignite/cli/releases/tag/v0.27.1) - -### Features - - [#3476](https://github.com/ignite/cli/pull/3476) Use `buf.build` binary to code generate from proto files - [#3614](https://github.com/ignite/cli/pull/3614) feat: use DefaultBaseappOptions for app.New method - [#3536](https://github.com/ignite/cli/pull/3536) Change app.go to v2 and add AppWiring feature @@ -23,6 +14,7 @@ ### Changes +- [#3529](https://github.com/ignite/cli/pull/3529) Refactor plugin system to use gRPC - [#3701](https://github.com/ignite/cli/pull/3701) Bump `go` version to 1.21 - [#3621](https://github.com/ignite/cli/pull/3621) Change `pkg/availableport` to allow custom parameters in `Find` function and handle duplicated ports - [#3559](https://github.com/ignite/cli/pull/3559) Bump network plugin version to `v0.1.1` @@ -36,6 +28,7 @@ - [#3662](https://github.com/ignite/cli/pull/3662) Refactor CLI "plugin" command to "app" - [#3669](https://github.com/ignite/cli/pull/3669) Rename `plugins` config file to `igniteapps` - [#3683](https://github.com/ignite/cli/pull/3683) Resolve `--dep auth` as `--dep account` in `scaffold module` +- [#3748](https://github.com/ignite/cli/pull/3748) Change default rpc endpoint to a working one ### Fixes From 1376bc8ff5ee495b1adc6bbe306b6f3018f7463b Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Tue, 14 Nov 2023 10:44:21 +0100 Subject: [PATCH 5/6] don't attempt to fix changelog here. --- changelog.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/changelog.md b/changelog.md index 2631802f12..f5c7ad262b 100644 --- a/changelog.md +++ b/changelog.md @@ -10,8 +10,7 @@ ### Changes - [#3529](https://github.com/ignite/cli/pull/3529) Refactor plugin system to use gRPC -- [#3751](https://github.com/ignite/cli/pull/3751) Rename label to skip changelog check -- [#3745](https://github.com/ignite/cli/pull/3745) Set tx fee amount as option +- [#3748](https://github.com/ignite/cli/pull/3748) Change default rpc endpoint to a working one ## [`v0.27.1`](https://github.com/ignite/cli/releases/tag/v0.27.1) @@ -25,7 +24,6 @@ ### Changes -- [#3529](https://github.com/ignite/cli/pull/3529) Refactor plugin system to use gRPC - [#3701](https://github.com/ignite/cli/pull/3701) Bump `go` version to 1.21 - [#3621](https://github.com/ignite/cli/pull/3621) Change `pkg/availableport` to allow custom parameters in `Find` function and handle duplicated ports - [#3559](https://github.com/ignite/cli/pull/3559) Bump network plugin version to `v0.1.1` @@ -39,7 +37,6 @@ - [#3662](https://github.com/ignite/cli/pull/3662) Refactor CLI "plugin" command to "app" - [#3669](https://github.com/ignite/cli/pull/3669) Rename `plugins` config file to `igniteapps` - [#3683](https://github.com/ignite/cli/pull/3683) Resolve `--dep auth` as `--dep account` in `scaffold module` -- [#3748](https://github.com/ignite/cli/pull/3748) Change default rpc endpoint to a working one ### Fixes From 22d21c4b62dd2742f62353170cfee852a63b1f4d Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Tue, 14 Nov 2023 21:04:29 +0100 Subject: [PATCH 6/6] updates --- changelog.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/changelog.md b/changelog.md index f5c7ad262b..f6dfa75754 100644 --- a/changelog.md +++ b/changelog.md @@ -10,6 +10,8 @@ ### Changes - [#3529](https://github.com/ignite/cli/pull/3529) Refactor plugin system to use gRPC +- [#3751](https://github.com/ignite/cli/pull/3751) Rename label to skip changelog check +- [#3745](https://github.com/ignite/cli/pull/3745) Set tx fee amount as option - [#3748](https://github.com/ignite/cli/pull/3748) Change default rpc endpoint to a working one ## [`v0.27.1`](https://github.com/ignite/cli/releases/tag/v0.27.1)