Skip to content

Commit

Permalink
Update all testnet docs from osmo-test-4 to osmo-test-5 #220 (#238)
Browse files Browse the repository at this point in the history
  • Loading branch information
HarjobandeepSingh authored Jan 11, 2024
1 parent 2380468 commit 942c812
Show file tree
Hide file tree
Showing 16 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion docs/beaker/config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ grpc_endpoint = 'http://localhost:9090'
rpc_endpoint = 'http://localhost:26657'

[networks.testnet]
chain_id = 'osmo-test-4'
chain_id = 'osmo-test-5'
network_variant = 'Shared'
grpc_endpoint = 'https://grpc-test.osmosis.zone:9090'
rpc_endpoint = 'https://rpc.testnet.osmosis.zone'
Expand Down
2 changes: 1 addition & 1 deletion docs/beaker/config/global.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ grpc_endpoint = 'http://localhost:9090'
rpc_endpoint = 'http://localhost:26657'

[networks.testnet]
chain_id = 'osmo-test-4'
chain_id = 'osmo-test-5'
network_variant = 'Shared'
grpc_endpoint = 'https://grpc-test.osmosis.zone:443'
rpc_endpoint = 'https://rpc.testnet.osmosis.zone'
Expand Down
2 changes: 1 addition & 1 deletion docs/cosmwasm/local/localosmosis.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ osmosisd tx wasm store cw_tpl_osmosis.wasm --from <unsafe-test-key-name> --chai
`<chain-id>` = localosmosis

Replace `<unsafe-test-key-name>` with the key name from your local keys. `osmosisd keys list`
Replace `<chain-id>` with localosmosis or osmo-test-4.
Replace `<chain-id>` with localosmosis or osmo-test-5.
Save the CODE_ID from the output of the command above as a local variable `CODE_ID=XX`

### Or Store CODE_ID
Expand Down
4 changes: 2 additions & 2 deletions docs/cosmwasm/testnet/cosmwasm-deployment.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Cosmwasm testnet deployment
The following is a quick guide that shows the basics of deploying a contract to a Osmosis Testnet (`osmo-test-4`). It covers:
The following is a quick guide that shows the basics of deploying a contract to a Osmosis Testnet (`osmo-test-5`). It covers:

- Initial Setup
- Setup Rust
Expand All @@ -26,7 +26,7 @@ Please note this a detailed guide on how to deploy via `osmosisd`, it also cover

## Initial Setup

This tutorial uses a Osmosis specific development tools to deploy contracts to Osmosis Testnet(`osmo-test-4`).
This tutorial uses a Osmosis specific development tools to deploy contracts to Osmosis Testnet(`osmo-test-5`).

### Setup Rust

Expand Down
2 changes: 1 addition & 1 deletion docs/osmojs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ import { signAndBroadcast } from 'osmojs';

const res = await signAndBroadcast({
client, // SigningStargateClient
chainId: 'osmosis-1', // use 'osmo-test-4' for testnet
chainId: 'osmosis-1', // use 'osmo-test-5' for testnet
address,
msgs: [msg],
fee,
Expand Down
2 changes: 1 addition & 1 deletion docs/osmosis-core/AssetData.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const AssetData = () => {

const assetUrls = {
mainnet: 'https://raw.githubusercontent.com/osmosis-labs/assetlists/main/osmosis-1/osmosis-1.assetlist.json',
osmo_test_4: 'https://raw.githubusercontent.com/osmosis-labs/assetlists/main/osmo-test-4/osmo-test-4.assetlist.json',
osmo_test_4: 'https://raw.githubusercontent.com/osmosis-labs/assetlists/main/osmo-test-5/osmo-test-5.assetlist.json',
osmo_test_5: 'https://raw.githubusercontent.com/osmosis-labs/assetlists/main/osmo-test-5/osmo-test-5.assetlist.json',
};

Expand Down
2 changes: 1 addition & 1 deletion docs/osmosis-core/keys/tmkms.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Now, modify the `tmkms.toml` file
```sh
nano $HOME/tmkms/config/tmkms.toml
```
In this example, my validator has the IP address of 123.456.32.123 and we will be using port 26659 to feed the validator key to the validator. We will also be using chain_id `osmosis-1`, but if you are doing this on the testnet be sure to use `osmo-test-4` instead:
In this example, my validator has the IP address of 123.456.32.123 and we will be using port 26659 to feed the validator key to the validator. We will also be using chain_id `osmosis-1`, but if you are doing this on the testnet be sure to use `osmo-test-5` instead:

```toml
# Tendermint KMS configuration file
Expand Down
2 changes: 1 addition & 1 deletion docs/osmosis-core/modules/lockup/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ osmosisd tx lockup lock-tokens 15527546134174465309gamm/pool/3 --duration="24h"
To lockup `25.527546134174465309gamm/pool/13` tokens for a `one week` bonding period from `WALLET_NAME` on the osmosis testnet:
```bash
osmosisd tx lockup lock-tokens 25527546134174465309gamm/pool/13 --duration="168h" --from WALLET_NAME --chain-id osmo-test-4
osmosisd tx lockup lock-tokens 25527546134174465309gamm/pool/13 --duration="168h" --from WALLET_NAME --chain-id osmo-test-5
```
To lockup `35.527546134174465309 gamm/pool/197` tokens for a `two week` bonding period from `WALLET_NAME` on the osmosis mainnet:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ NEXT_PUBLIC_OSMOSIS_ASSETLISTS_BASE_URL=https://raw.githubusercontent.com/nabla-
NEXT_PUBLIC_COINGECKO_BASE_URL=https://api.coingecko.com/api/v3/

# Osmosis Chain Configuration Overwrite
NEXT_PUBLIC_OSMOSIS_CHAIN_ID_BASE=osmo-test-4
NEXT_PUBLIC_OSMOSIS_CHAIN_ID_BASE=osmo-test-5
NEXT_PUBLIC_OSMOSIS_CHAIN_NAME_BASE=osmosistestnet

# Source Chain Configuration Overwrite
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ This is the chain id of the Osmosis chain you want to use.
Osmosis testnet chain.

```bash
NEXT_PUBLIC_OSMOSIS_CHAIN_ID_BASE=osmo-test-4
NEXT_PUBLIC_OSMOSIS_CHAIN_ID_BASE=osmo-test-5
```

### OSMOSIS_CHAIN_NAME_BASE
Expand Down Expand Up @@ -67,9 +67,9 @@ The following table resume the information for the Osmosis *mainnet* and
look at the
[cosmos/chain-registry](https://github.com/cosmos/chain-registry/) repository.

| Value | Osmosis Testnet (osmo-test-4) | Osmosis Mainnet |
| Value | Osmosis Testnet (osmo-test-5) | Osmosis Mainnet |
| ---------- | ------------------------------------------------------------------------------- | ------------------------------------------------------- |
| Chain ID | `osmo-test-4` | `osmosis-1` |
| Chain ID | `osmo-test-5` | `osmosis-1` |
| Chain Name | `osmosistestnet` | `osmosis` |
| RPC | [https://rpc.testnet.osmosis.zone:443](https://rpc.testnet.osmosis.zone:443) | [https://rpc.osmosis.zone](https://rpc.osmosis.zone) |
| LCD | [https://lcd.testnet.osmosis.zone](https://lcd.testnet.osmosis.zone) | [https://lcd.osmosis.zone](https://lcd.osmosis.zone) |
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ The following table resume the information for the Osmosis *mainnet* and
**contract versions**! The following information **could be not up to date**, so do your own
research to ensure you are on the right way.

| Contract | Osmosis Testnet (osmo-test-4) | Osmosis Mainnet |
| Contract | Osmosis Testnet (osmo-test-5) | Osmosis Mainnet |
| ---------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- |
| swaprouter | `osmo1qw6npqrhgt0k4wvjecyggsyy0u492sg26wwtgttrmwc2xxelghgqkykpf9` | `osmo1fy547nr4ewfc38z73ghr6x62p7eguuupm66xwk8v8rjnjyeyxdqs6gdqx7` |
| crosschain-swaps | `osmo1efakw4was99usxve258p58a5a26f0yt072gvyej5zr4lv5r0hxqqsddqgg` | `osmo1uwk8xc6q0s6t5qcpr6rht3sczu6du83xq8pwxjua0hfj5hzcnh3sqxwvxs` |
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ The following table resume the information for the Osmosis *mainnet* and
look at the
[cosmos/chain-registry](https://github.com/cosmos/chain-registry/) repository.

| Value | Osmosis Testnet (osmo-test-4) | Osmosis Mainnet |
| Value | Osmosis Testnet (osmo-test-5) | Osmosis Mainnet |
| ---------- | ------------------------------------------------------------------------------- | ------------------------------------------------------- |
| Chain ID | `osmo-test-4` | `osmosis-1` |
| Chain ID | `osmo-test-5` | `osmosis-1` |
| Chain Name | `osmosistestnet` | `osmosis` |
| RPC | [https://rpc.testnet.osmosis.zone:443](https://rpc.testnet.osmosis.zone:443) | [https://rpc.osmosis.zone](https://rpc.osmosis.zone) |
| LCD | [https://lcd.testnet.osmosis.zone](https://lcd.testnet.osmosis.zone) | [https://lcd.osmosis.zone](https://lcd.osmosis.zone) |
2 changes: 1 addition & 1 deletion docs/overview/integrate/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ osmosis config node https://rpc.osmosis.zone:443

```bash
osmosisd config node https://rpc.testnet.osmosis.zone:443
osmosisd config chain-id osmo-test-4
osmosisd config chain-id osmo-test-5
```

To add a new account on your local keyring
Expand Down
4 changes: 2 additions & 2 deletions docs/overview/validate/joining-testnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ In order to get testnet tokens use [https://faucet.osmosis.zone/](https://fauce
Use osmosisd to initialize your node (replace the ```NODE_NAME``` with a name of your choosing):

```bash
osmosisd init NODE_NAME --chain-id=osmo-test-4
osmosisd init NODE_NAME --chain-id=osmo-test-5
```

Open the config.toml to edit the seeds and persistent peers:
Expand Down Expand Up @@ -89,7 +89,7 @@ Download and replace the genesis file:

```bash
cd $HOME/.osmosisd/config
wget https://github.com/osmosis-labs/networks/raw/main/osmo-test-4/genesis.tar.bz2
wget https://github.com/osmosis-labs/networks/raw/main/osmo-test-5/genesis.tar.bz2
tar -xjf genesis.tar.bz2 && rm genesis.tar.bz2
```

Expand Down
6 changes: 3 additions & 3 deletions docs/overview/validate/validating-testnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ osmosisd tx staking create-validator \
--pubkey=$(osmosisd tendermint show-validator) \
--moniker="Wosmongton" \
--security-contact="[email protected]" \
--chain-id="osmo-test-4" \
--chain-id="osmo-test-5" \
--commission-rate="0.1" \
--commission-max-rate="0.2" \
--commission-max-change-rate="0.05" \
Expand Down Expand Up @@ -134,11 +134,11 @@ osmosisd tendermint show-validator
Use your validators public key queried above:

```bash
osmosisd query slashing signing-info [validator-pubkey] --chain-id osmo-test-4
osmosisd query slashing signing-info [validator-pubkey] --chain-id osmo-test-5
```

Example:

```bash
osmosisd query slashing signing-info '{"@type":"/cosmos.crypto.ed25519.PubKey","key":"HlixoxNZBPq4pBOYEimtSq9Ak4peBISVsIbI5ZHrEAU="}' --chain-id osmo-test-4
osmosisd query slashing signing-info '{"@type":"/cosmos.crypto.ed25519.PubKey","key":"HlixoxNZBPq4pBOYEimtSq9Ak4peBISVsIbI5ZHrEAU="}' --chain-id osmo-test-5
```
2 changes: 1 addition & 1 deletion docs/telescope/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ import { signAndBroadcast } from '@osmosnauts/helpers';

const res = await signAndBroadcast({
client, // SigningStargateClient
chainId: 'osmosis-1', // use 'osmo-test-4' for testnet
chainId: 'osmosis-1', // use 'osmo-test-5' for testnet
address,
msgs: [msg],
fee,
Expand Down

1 comment on commit 942c812

@vercel
Copy link

@vercel vercel bot commented on 942c812 Jan 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.