Skip to content

Commit

Permalink
fix: use better default rpc (#3748)
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt authored Nov 14, 2023
1 parent 0e12ab6 commit 57813c9
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 11 deletions.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
- [#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)

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/07-packages/cosmostxcollector.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
16 changes: 8 additions & 8 deletions docs/docs/08-references/01-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -2814,7 +2814,7 @@ Make requests to a live blockchain node

```
-h, --help help for node
--node string <host>:<port> to tendermint rpc interface for this chain (default "https://rpc.cosmos.network:443")
--node string <host>:<port> to tendermint rpc interface for this chain (default "https://rpc.cosmos.directory:443/cosmoshub")
```

**SEE ALSO**
Expand All @@ -2837,7 +2837,7 @@ Querying subcommands
**Options inherited from parent commands**

```
--node string <host>:<port> to tendermint rpc interface for this chain (default "https://rpc.cosmos.network:443")
--node string <host>:<port> to tendermint rpc interface for this chain (default "https://rpc.cosmos.directory:443/cosmoshub")
```

**SEE ALSO**
Expand All @@ -2860,7 +2860,7 @@ Querying commands for the bank module
**Options inherited from parent commands**

```
--node string <host>:<port> to tendermint rpc interface for this chain (default "https://rpc.cosmos.network:443")
--node string <host>:<port> to tendermint rpc interface for this chain (default "https://rpc.cosmos.directory:443/cosmoshub")
```

**SEE ALSO**
Expand Down Expand Up @@ -2896,7 +2896,7 @@ ignite node query bank balances [from_account_or_address] [flags]
**Options inherited from parent commands**

```
--node string <host>:<port> to tendermint rpc interface for this chain (default "https://rpc.cosmos.network:443")
--node string <host>:<port> to tendermint rpc interface for this chain (default "https://rpc.cosmos.directory:443/cosmoshub")
```

**SEE ALSO**
Expand All @@ -2921,7 +2921,7 @@ ignite node query tx [hash] [flags]
**Options inherited from parent commands**

```
--node string <host>:<port> to tendermint rpc interface for this chain (default "https://rpc.cosmos.network:443")
--node string <host>:<port> to tendermint rpc interface for this chain (default "https://rpc.cosmos.directory:443/cosmoshub")
```

**SEE ALSO**
Expand Down Expand Up @@ -2951,7 +2951,7 @@ Transactions subcommands
**Options inherited from parent commands**

```
--node string <host>:<port> to tendermint rpc interface for this chain (default "https://rpc.cosmos.network:443")
--node string <host>:<port> to tendermint rpc interface for this chain (default "https://rpc.cosmos.directory:443/cosmoshub")
```

**SEE ALSO**
Expand Down Expand Up @@ -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 <host>:<port> to tendermint rpc interface for this chain (default "https://rpc.cosmos.network:443")
--node string <host>:<port> to tendermint rpc interface for this chain (default "https://rpc.cosmos.directory:443/cosmoshub")
```

**SEE ALSO**
Expand Down Expand Up @@ -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 <host>:<port> to tendermint rpc interface for this chain (default "https://rpc.cosmos.network:443")
--node string <host>:<port> to tendermint rpc interface for this chain (default "https://rpc.cosmos.directory:443/cosmoshub")
```

**SEE ALSO**
Expand Down
2 changes: 1 addition & 1 deletion ignite/cmd/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion ignite/cmd/relayer_configure.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 57813c9

Please sign in to comment.