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: use better default rpc #3748

Merged
merged 9 commits into from
Nov 14, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
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 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/cosmoshub:443")
julienrbrt marked this conversation as resolved.
Show resolved Hide resolved
julienrbrt marked this conversation as resolved.
Show resolved Hide resolved
```

**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/cosmoshub:443")
```

**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/cosmoshub:443")
```

**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/cosmoshub:443")
```

**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/cosmoshub:443")
```

**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/cosmoshub:443")
```

**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/cosmoshub:443")
```

**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
Loading