Skip to content

Commit

Permalink
Fixed the chainid of the latest Juno Uni testnet from uni-4 to uni-5
Browse files Browse the repository at this point in the history
  • Loading branch information
spoo-bar committed Sep 25, 2022
1 parent aab6bae commit 7823aa7
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 10 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ All notable changes to the "cosmy-wasmy" extension will be documented in this fi
### Security
-->

## [v1.2.1] - 25 September 2022

### Fixed

- Fixed the chainid of the latest Juno Uni testnet from uni-4 to uni-5


## [v1.2.0] - 24 September 2022

### Added
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ All the required components will now be installed for you to start your smart co

To access all the Cosmwasm related features, click on the Cosmy Wasmy icon on the sidebar.

The extension by default connects to the Juno `uni-4` testnet. You can go to the [settings](/docs/configuration.md) and customize this to target your local instance or any other testnet.
The extension by default connects to the Juno `uni-5` testnet. You can go to the [settings](/docs/configuration.md) and customize this to target your local instance or any other testnet.

## Warnings

Expand Down
10 changes: 5 additions & 5 deletions docs/configuration.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

# Extension Configuration

**[Juno uni-4 testnet](https://testnet.ping.pub/juno)**, **[Localnet - Juno](https://github.com/CosmosContracts/juno/pkgs/container/juno)**, **[Testnet - Osmosis](https://docs.osmosis.zone/developing/network/explorers.html#testnet)** and **[Localnet - Osmosis](https://docs.osmosis.zone/developing/tools/localosmosis.html#what-is-localosmosis)** configs are preset by default. Any other chain can be manually added.
**[Juno uni-5 testnet](https://testnet.ping.pub/juno)**, **[Localnet - Juno](https://github.com/CosmosContracts/juno/pkgs/container/juno)**, **[Testnet - Osmosis](https://docs.osmosis.zone/developing/network/explorers.html#testnet)** and **[Localnet - Osmosis](https://docs.osmosis.zone/developing/tools/localosmosis.html#what-is-localosmosis)** configs are preset by default. Any other chain can be manually added.

You can set up the extension settings here
> File > Preferences > Settings > Cosmy Wasmy
Expand All @@ -10,8 +10,8 @@ You can set up the extension settings here

| Setting | Type | Default | Scope | Details |
| --------|------|----------|-------|---------|
| [Deprecated] ~~`cosmywasmy.chainConfigName`~~ | ~~string~~ | ~~Juno UNI-4~~ | ~~Workspace~~ | ~~This setting is used to select which of the given Chain configs is to be used in this workspace~~ |
| `cosmywasmy.chains` | json | Juno UNI-4, Juno, Osmosis test-4, Osmosis, Archway constantine-1 config | Application | This setting stores an array of JSON objects which contains the Chain config details. <br /> This setting can be expanded to include any localnet or testnet chains (_mainnet not recommended_). <br/> The structure of the expected setting is elaborated below this table |
| [Deprecated] ~~`cosmywasmy.chainConfigName`~~ | ~~string~~ | ~~Juno UNI-5~~ | ~~Workspace~~ | ~~This setting is used to select which of the given Chain configs is to be used in this workspace~~ |
| `cosmywasmy.chains` | json | Juno UNI-5, Juno, Osmosis test-4, Osmosis, Archway constantine-1 config | Application | This setting stores an array of JSON objects which contains the Chain config details. <br /> This setting can be expanded to include any localnet or testnet chains (_mainnet not recommended_). <br/> The structure of the expected setting is elaborated below this table |
| `cosmywasmy.contractSortOrder` | enum | None | Workspace | This setting controls the sorting order of the Smart Contracts in the Contract view <br /> * Alphabetical - Sort the Smart Contracts alphabetically by their label<br /> * CodeId - Sort the Smart Contracts by the Code ID<br /> * None - No explicit sorting - Maintains the order the contracts were imported in |
| `cosmywasmy.cosmwasmResponseView` | enum | Terminal | Workspace | This setting controls where the smart contract interactions should be displayed <br /> * NewFile - Open a new dummy doc with response <br /> * Terminal - A seperate output channel by Cosmy Wasmy in the Output view |
| `cosmywasmy.maxHistoryStored` | number | 20 | Workspace | Controls the latest number of queries and txs kept in history for easy re-execution. If set to `0` the feature is disabled and nothing is stored |
Expand All @@ -21,8 +21,8 @@ The structure of the expected setting for `cosmywasamy.chains`:
```json
[
{
"configName": "Juno UNI-4 testnet", // This need to match exactly the `cosmywasmy.chainConfigName` when the chain config needs to be selected
"chainId": "uni-4", // The localnet/testnet Chain ID
"configName": "Juno UNI-5 testnet", // This need to match exactly the `cosmywasmy.chainConfigName` when the chain config needs to be selected
"chainId": "uni-5", // The localnet/testnet Chain ID
"chainEnvironment": "testnet", // Is the chain localnet, testnet or (god forbid 😨) mainnet
"addressPrefix": "juno", // Used to derive account address
"rpcEndpoint": "https://rpc.uni.junonetwork.io/", // Used for query and tx exec of smart contracts
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "cosmy-wasmy",
"displayName": "cosmy wasmy",
"description": "wibbly wobbly cosmy wasmy tool to interact with cosmwasm smart contracts",
"version": "1.2.0",
"version": "1.2.1",
"preview": false,
"publisher": "Spoorthi",
"icon": "media/icon.png",
Expand Down Expand Up @@ -188,7 +188,7 @@
"markdownDescription": "Used to select which of the Chain configs in `#cosmywasmy.chains#` is to be used in this workspace",
"scope": "resource",
"order": 0,
"default": "Juno UNI-3 testnet",
"default": "Juno UNI-5 testnet",
"deprecationMessage": "This property is not used anymore in fetching the workspace chain config. Click on the Status bar item to select the chain config you require."
},
"cosmywasmy.chains": {
Expand Down Expand Up @@ -272,8 +272,8 @@
},
"default": [
{
"configName": "Juno uni-4",
"chainId": "uni-4",
"configName": "Juno uni-5",
"chainId": "uni-5",
"chainEnvironment": "testnet",
"addressPrefix": "juno",
"rpcEndpoint": "https://rpc.uni.junonetwork.io/",
Expand Down

0 comments on commit 7823aa7

Please sign in to comment.