|
|
@@ -110,7 +110,7 @@ $ make build
|
|
|
- WORMHOLE_STATE_ID: [0xaeab97f96cf9877fee2883315d459552b2b921edc16d7ceac6eab944dd88919c](https://explorer.sui.io/object/0xaeab97f96cf9877fee2883315d459552b2b921edc16d7ceac6eab944dd88919c)
|
|
|
|
|
|
# 5. Common Questions on How to Integrate with Pyth on Sui
|
|
|
-1. What is up with the "sui rev"? (`09b2081498366df936abae26eea4b2d5cafb2788`). Why does it point to a specific commit hash instead of Sui github "main" or "devnet"?
|
|
|
+## 1. What is up with the "sui rev"? (`09b2081498366df936abae26eea4b2d5cafb2788`). Why does it point to a specific commit hash instead of Sui github "main" or "devnet"?
|
|
|
|
|
|
Our Pyth `Move.toml` file contains the following dependencies. It depends on specific versions of the [Sui Framework](https://github.com/MystenLabs/sui) as well as [Wormhole](https://github.com/wormhole-foundation/wormhole). To make your Sui package compatible, you must also specify the following dependencies verbatim in your `Move.toml` file. We are locked in to this specific `rev` because our package depends on Wormhole, which uses this `rev`.
|
|
|
```
|
|
|
@@ -125,7 +125,7 @@ subdir = "sui/wormhole"
|
|
|
rev = "d050ad1d67a5b7da9fb65030aad12ef5d774ccad"
|
|
|
```
|
|
|
|
|
|
-2. How do I find the Sui Object ID of a PriceInfoObject for a Pyth Price Feed?
|
|
|
+## 2. How do I find the Sui Object ID of a PriceInfoObject for a Pyth Price Feed?
|
|
|
The list of Pyth price feed IDs can be found [here](https://pyth.network/developers/price-feed-ids#pyth-evm-testnet).
|
|
|
|
|
|
The mapping of Pyth price feed IDs to `PriceInfoObject` object IDs can be found [here](./scripts/generated/).
|