From 9190672b4a2c3d5e621a8e8de2f9634515d90d0c Mon Sep 17 00:00:00 2001 From: zark <77061323+zarkk01@users.noreply.github.com> Date: Sun, 22 Jun 2025 18:54:56 +0300 Subject: [PATCH] Update sui.mdx In this example, instead of the wormhole state id, the wormhole package id was passed. Check package ids and state ids here : https://docs.pyth.network/price-feeds/contract-addresses/sui --- pages/price-feeds/use-real-time-data/sui.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/price-feeds/use-real-time-data/sui.mdx b/pages/price-feeds/use-real-time-data/sui.mdx index ff0bba0a..5e1a18f8 100644 --- a/pages/price-feeds/use-real-time-data/sui.mdx +++ b/pages/price-feeds/use-real-time-data/sui.mdx @@ -131,7 +131,7 @@ const priceUpdateData = await connection.getPriceFeedsUpdateData(priceIDs); const wallet: SignerWithProvider = getWallet(); // Get the state IDs of the Pyth and Wormhole contracts from // https://docs.pyth.network/price-feeds/contract-addresses/sui -const wormholeStateId = "0x5306f64e312b581766351c07af79c72fcb1cd25147157fdc2f8ad76de9a3fb6a"; +const wormholeStateId = "0xaeab97f96cf9877fee2883315d459552b2b921edc16d7ceac6eab944dd88919c"; const pythStateId = "0x1f9310238ee9298fb703c3419030b35b22bb1cc37113e3bb5007c99aec79e5b8"; const client = new SuiPythClient(wallet.provider, pythStateId, wormholeStateId);