From 6cf672fb5a26fb3da26956c92d9948ee76ce8b30 Mon Sep 17 00:00:00 2001 From: samricotta <37125168+samricotta@users.noreply.github.com> Date: Tue, 6 Feb 2024 15:53:30 +0100 Subject: [PATCH] update to links (#1513) --- tutorials/oracle/docs/00-getting-started.md | 2 ++ tutorials/oracle/docs/02-implementing-vote-extensions.md | 2 +- tutorials/oracle/docs/03-testing-oracle.md | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tutorials/oracle/docs/00-getting-started.md b/tutorials/oracle/docs/00-getting-started.md index a5e88fb074..50c89f4dbc 100644 --- a/tutorials/oracle/docs/00-getting-started.md +++ b/tutorials/oracle/docs/00-getting-started.md @@ -33,3 +33,5 @@ We’ll go through the implementation of: * `PrepareProposal` to process the vote extensions from the previous block and include them into the proposal as a transaction. * `ProcessProposal` to check that the first transaction in the proposal is actually a “special tx” that contains the price information. * `PreBlocker` to make price information available during FinalizeBlock. + +If you would like to see the complete working oracle module please see [here](https://github.com/cosmos/sdk-tutorials/blob/master/tutorials/oracle/base/x/oracle) diff --git a/tutorials/oracle/docs/02-implementing-vote-extensions.md b/tutorials/oracle/docs/02-implementing-vote-extensions.md index 0a33e11f69..52fa102121 100644 --- a/tutorials/oracle/docs/02-implementing-vote-extensions.md +++ b/tutorials/oracle/docs/02-implementing-vote-extensions.md @@ -52,7 +52,7 @@ func (h *VoteExtHandler) ExtendVoteHandler() sdk.ExtendVoteHandler { } ``` -As you can see above, the creation of a vote extension is pretty simple and we just have to return bytes. CometBFT will handle the signing of these bytes for us. We ignored the process of getting the prices but you can see a more complete example [here:](../base/x/oracle/abci/vote_extensions.go) +As you can see above, the creation of a vote extension is pretty simple and we just have to return bytes. CometBFT will handle the signing of these bytes for us. We ignored the process of getting the prices but you can see a more complete example [here:](https://github.com/cosmos/sdk-tutorials/blob/master/tutorials/oracle/base/x/oracle/abci/vote_extensions.go) Here we’ll do some simple checks like: diff --git a/tutorials/oracle/docs/03-testing-oracle.md b/tutorials/oracle/docs/03-testing-oracle.md index d2cfd385b0..dc1fc7fdbb 100644 --- a/tutorials/oracle/docs/03-testing-oracle.md +++ b/tutorials/oracle/docs/03-testing-oracle.md @@ -1,6 +1,6 @@ # Testing the Oracle Module -We will guide you through the process of testing the Oracle module in your application. The Oracle module uses vote extensions to provide current price data. +We will guide you through the process of testing the Oracle module in your application. The Oracle module uses vote extensions to provide current price data. If you would like to see the complete working oracle module please see [here](https://github.com/cosmos/sdk-tutorials/blob/master/tutorials/oracle/base/x/oracle). ## Step 1: Compile and Install the Application