Skip to content

Commit

Permalink
update to links (#1513)
Browse files Browse the repository at this point in the history
  • Loading branch information
samricotta authored Feb 6, 2024
1 parent bb87893 commit 6cf672f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions tutorials/oracle/docs/00-getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion tutorials/oracle/docs/02-implementing-vote-extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion tutorials/oracle/docs/03-testing-oracle.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 6cf672f

Please sign in to comment.