From 8920eb02a8dae7f860cbf4d922f0eb8c0c842708 Mon Sep 17 00:00:00 2001 From: Xi Zhang Date: Tue, 8 Oct 2024 14:03:02 +0300 Subject: [PATCH 1/2] docs: Sapphire localnet references consolidated page under tools --- docs/rofl/app.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/rofl/app.md b/docs/rofl/app.md index 8c3ce5c292..8cfd385834 100644 --- a/docs/rofl/app.md +++ b/docs/rofl/app.md @@ -114,7 +114,7 @@ the ROFL app. To do this, create `src/main.rs` with the following content: ## Testing it on Sapphire Localnet -The simplest way to test and debug your ROFL is locally. +The simplest way to test and debug your ROFL is with a local stack. 1. Disable trust root verification in [`src/main.rs`]. Replace: @@ -145,7 +145,10 @@ The simplest way to test and debug your ROFL is locally. ``` In a few moments, the Sapphire Localnet will spin up and automatically launch -your ROFL inside the compute node. +your ROFL inside the compute node. See [localnet][localnet] for more +information. + +[localnet]: https://github.com/oasisprotocol/docs/blob/main/docs/dapp/tools/localnet.mdx ``` sapphire-localnet 2024-09-19-git2332dba (oasis-core: 24.2, sapphire-paratime: 0.8.2, oasis-web3-gateway: 5.1.0) From f735ef9f2c3839a4dc26cdb103ed514accb8f563 Mon Sep 17 00:00:00 2001 From: Xi Zhang Date: Fri, 18 Oct 2024 17:44:30 -0500 Subject: [PATCH 2/2] docs: Fix Sapphire testnet reference --- docs/rofl/deployment.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/rofl/deployment.md b/docs/rofl/deployment.md index 85ab7c01ab..55aad6c1b0 100644 --- a/docs/rofl/deployment.md +++ b/docs/rofl/deployment.md @@ -2,8 +2,10 @@ As a first step we need to decide which ParaTime the ROFL app will authenticate to. This can be any ParaTime which has the ROFL module installed. For the rest -of this section we will be using [Sapphire Testnet] which has all of the -required functionality. +of this section we will be using [Sapphire Testnet][sapphire-testnet] which has +all of the required functionality. + +[sapphire-testnet]: https://github.com/oasisprotocol/docs/blob/main/docs/dapp/sapphire/network.mdx ## Define the Root of Trust