Skip to content

Commit ec1d99c

Browse files
Apply prettier formatting to EVM guide warning
Co-Authored-By: Nidhi Singh <[email protected]>
1 parent aef4a37 commit ec1d99c

File tree

1 file changed

+6
-1
lines changed
  • pages/price-feeds/use-real-time-data/pull-integration

1 file changed

+6
-1
lines changed

pages/price-feeds/use-real-time-data/pull-integration/evm.mdx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,12 @@ Then add the following line to your `remappings.txt` file:
4747
```
4848

4949
<Callout type="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.
5156
</Callout>
5257

5358
## Write Contract Code

0 commit comments

Comments
 (0)