Skip to content

Commit

Permalink
Merge branch 'master' into feat/md-front-matter-meta
Browse files Browse the repository at this point in the history
  • Loading branch information
alexiscolin authored Feb 25, 2025
2 parents 5d8c898 + c433aa0 commit c26bde4
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 25 deletions.
16 changes: 0 additions & 16 deletions docs/concepts/testnets.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,22 +63,6 @@ Test5 was launched in November 2024.
- **Versioning strategy**:
- Test5 is to be release-based, following releases of the Gno tech stack.


## Staging

Staging is a testnet that is reset once every 60 minutes.

- **Persistence of state:**
- State is fully discarded
- **Timeliness of code:**
- With every reset, the latest commit of the Gno tech stack is applied, including
the demo packages and realms
- **Intended purpose**
- Demoing, single-use code in a staging environment, testing automation which
uploads code to the chain, etc.
- **Versioning strategy**:
- Staging is reset every 60 minutes to match the latest monorepo commit

## TestX

These testnets are deprecated and currently serve as archives of previous progress.
Expand Down
4 changes: 2 additions & 2 deletions docs/reference/gno-js-client/gno-provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Same as [`tm2-js-client` `WSProvider`](../tm2-js-client/Provider/ws-provider.md)
#### Usage

```ts
new GnoWSProvider('ws://staging.gno.land:26657/ws');
new GnoWSProvider('ws://gno.land:443/ws');
// provider with WS connection is created
```

Expand All @@ -35,7 +35,7 @@ Same as [`tm2-js-client` `JSONRPCProvider`](../tm2-js-client/Provider/json-rpc-p
#### Usage

```ts
new GnoJSONRPCProvider('http://staging.gno.land:36657');
new GnoJSONRPCProvider('https://gno.land:443');
// provider is created
```

Expand Down
1 change: 0 additions & 1 deletion docs/reference/network-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ id: network-config
|-------------|----------------------------------|---------------|
| Portal Loop | https://rpc.gno.land:443 | `portal-loop` |
| Test5 | https://rpc.test5.gno.land:443 | `test5` |
| Staging | https://rpc.staging.gno.land:443 | `staging` |

### WebSocket endpoints
All networks follow the same pattern for websocket connections:
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/tm2-js-client/Provider/json-rpc-provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ Creates a new instance of the JSON-RPC Provider
#### Usage

```ts
new JSONRPCProvider('http://staging.gno.land:36657');
new JSONRPCProvider('https://gno.land:443');
// provider is created
```
10 changes: 5 additions & 5 deletions docs/reference/tm2-js-client/Provider/ws-provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Creates a new instance of the WebSocket Provider
#### Usage

```ts
new WSProvider('ws://staging.gno.land:26657/ws');
new WSProvider('ws://gno.land:443/ws');
// provider with WS connection is created
```

Expand All @@ -30,7 +30,7 @@ with the WS provider
#### Usage

```ts
const wsProvider = new WSProvider('ws://staging.gno.land:26657/ws');
const wsProvider = new WSProvider('ws://gno.land:443/ws');

wsProvider.closeConnection();
// WS connection is now closed
Expand All @@ -52,7 +52,7 @@ Returns **Promise<RPCResponse<Result\>>**
```ts
const request: RPCRequest = // ...

const wsProvider = new WSProvider('ws://staging.gno.land:26657/ws');
const wsProvider = new WSProvider('ws://gno.land:443/ws');

wsProvider.sendRequest<Result>(request);
// request is sent over the open WS connection
Expand All @@ -73,7 +73,7 @@ Returns **Result**
```ts
const response: RPCResponse = // ...

const wsProvider = new WSProvider('ws://staging.gno.land:26657/ws');
const wsProvider = new WSProvider('ws://gno.land:443/ws');

wsProvider.parseResponse<Result>(response);
// response is parsed
Expand All @@ -88,7 +88,7 @@ Returns **Promise<null\>**
#### Usage

```ts
const wsProvider = new WSProvider('ws://staging.gno.land:26657/ws');
const wsProvider = new WSProvider('ws://gno.land:443/ws');

await wsProvider.waitForOpenConnection()
// status of the connection is: CONNECTED
Expand Down

0 comments on commit c26bde4

Please sign in to comment.