Skip to content

Commit 4e9be41

Browse files
committed
test
1 parent ccfc6f7 commit 4e9be41

File tree

3 files changed

+2
-16
lines changed

3 files changed

+2
-16
lines changed

next.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ const permanentRedirectArray = [
118118
["/documentation", "/home"],
119119

120120
["/api-explorer/:slug*", "/price-feeds/api-reference/:slug*"],
121+
["/price-feeds/api-reference/evm/:slug*", "https://api-reference.pyth.network/price-feeds/evm/:slug*"],
121122

122123
[
123124
"/guides/how-to-schedule-price-updates-with-gelato",

pages/price-feeds/api-reference/evm.mdx

Lines changed: 0 additions & 15 deletions
This file was deleted.

pages/price-feeds/create-your-first-pyth-app/evm/part-1.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ contract MyFirstPythContract {
336336
```
337337

338338
The end of this function calls the `mint` function we defined before.
339-
Before that, however, the function calls [`updatePriceFeeds`](https://docs.pyth.network/price-feeds/api-reference/evm/update-price-feeds) on the Pyth contract.
339+
Before that, however, the function calls [`updatePriceFeeds`](../../api-reference/evm/updatePriceFeeds) on the Pyth contract.
340340
This function takes a payload of `bytes[]` that is passed into the function itself.
341341
The Pyth contract requires a fee to perform this update; the code snippet above calculates the needed fee using [`getUpdateFee`](https://docs.pyth.network/price-feeds/api-reference/evm/get-update-fee).
342342
The caller of this function can pass in a recent Pyth price update as this payload, guaranteeing that the `StalePrice` error won't occur.

0 commit comments

Comments
 (0)