You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/price-feeds/use-real-time-data/pull-integration/evm.mdx
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,12 @@ Then add the following line to your `remappings.txt` file:
47
47
```
48
48
49
49
<Callouttype="warning"emoji="⚠️">
50
-
**Important**: Pyth uses a pull-based oracle model that requires users to update prices on-chain before reading them. If you don't update the price or if the on-chain price becomes too stale, calls to `getPriceNoOlderThan()` will revert with a `StalePrice` error (0x19abf40e). Learn more about [why you need to update prices](../../how-pyth-works/why-update-prices) and see [how to fetch price updates](../../fetch-price-updates) for implementation details.
50
+
**Important**: Pyth uses a pull-based oracle model that requires users to
51
+
update prices on-chain before reading them. If you don't update the price or
52
+
if the on-chain price becomes too stale, calls to `getPriceNoOlderThan()` will
53
+
revert with a `StalePrice` error (0x19abf40e). Learn more about [why you need
54
+
to update prices](../../how-pyth-works/why-update-prices) and see [how to
55
+
fetch price updates](../../fetch-price-updates) for implementation details.
0 commit comments