# Upload the new version of Pyth Network Contract

**URL:** https://forum.osmosis.zone/t/upload-the-new-version-of-pyth-network-contract/183
**Category:** DApps / Tooling
**Tags:** passed
**Created:** [August 3, 2023, 11:44am UTC](https://forum.osmosis.zone/t/upload-the-new-version-of-pyth-network-contract/183 "2023-08-03T11:44:01Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![amin](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@amin](https://forum.osmosis.zone/u/amin)
#### Post date: [August 3, 2023, 11:44am UTC](https://forum.osmosis.zone/t/upload-the-new-version-of-pyth-network-contract/183/1 "2023-08-03T11:44:01Z")

</div>

Passing this proposal will upload the new Pyth contract (v-1.3.0) to the Osmosis chain.

**Details**

Pyth Network is an oracle that publishes financial market data to multiple blockchains. The data is sourced from over [80 first-party data providers](https://pyth.network/publishers), including some of the largest exchanges and market making firms worldwide. Pyth provides real-time price feeds — updating once per second — for 200+ assets including crypto, equities, FX and more.

The upgrade enables new gas optimizations which reduces the cost of updating price feeds even more.

**Contract information**

- The release for the contract is available at - [https://github.com/pyth-network/pyth-crosschain/releases/tag/pyth-cosmwasm-contract-v1.3.0](https://github.com/pyth-network/pyth-crosschain/releases/tag/pyth-cosmwasm-contract-v1.3.0)  
The git commit Id - [https://github.com/pyth-network/pyth-crosschain/tree/7cd9ec7e03416fd7bff6405aa0bb4e6d4ad36b45](https://github.com/pyth-network/pyth-crosschain/tree/7cd9ec7e03416fd7bff6405aa0bb4e6d4ad36b45)  
The code can be found at - [https://github.com/pyth-network/pyth-crosschain/tree/7cd9ec7e03416fd7bff6405aa0bb4e6d4ad36b45/target\_chains/cosmwasm/contracts](https://github.com/pyth-network/pyth-crosschain/tree/7cd9ec7e03416fd7bff6405aa0bb4e6d4ad36b45/target_chains/cosmwasm/contracts)
- Compiler Version - cosmwasm/workspace-optimizer:0.12.11
- Checksum - 01c13718d595e2938b9660fa68135ee45720a83dbeceab9e2072fee409dd438d pyth\_cosmwasm.wasm

---

<div class="post-metadata">

### Author: ![LeonoorsCryptoman](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.osmosis.zone/leonoorscryptoman/32/208_2.png) [@LeonoorsCryptoman](https://forum.osmosis.zone/u/LeonoorsCryptoman)
#### Post date: [August 7, 2023, 5:21am UTC](https://forum.osmosis.zone/t/upload-the-new-version-of-pyth-network-contract/183/2 "2023-08-07T05:21:13Z")

</div>

Thanks for sharing the information!

Is Pyth not already used on other chains as well?

Is the code checked during testnets and such? Also deployed on the Osmosis testnet?

---

<div class="post-metadata">

### Author: ![amin](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@amin](https://forum.osmosis.zone/u/amin)
#### Post date: [August 7, 2023, 5:42am UTC](https://forum.osmosis.zone/t/upload-the-new-version-of-pyth-network-contract/183/3 "2023-08-07T05:42:24Z")

</div>

Thanks for your reply.  
Yes, it is being used on multiple chains at the moment.  
The code has been checked, tested and audited.  
You can find the CosmWasm report here in section 3.3:

> <https://github.com/pyth-network/audit-reports/blob/main/2023_26_07/Pyth%20Network%20Smart%20Contract%20Patch%20Review.pdf>

The code is already deployed and tested on osmosis testnet.

---

<div class="post-metadata">

### Author: ![LeonoorsCryptoman](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.osmosis.zone/leonoorscryptoman/32/208_2.png) [@LeonoorsCryptoman](https://forum.osmosis.zone/u/LeonoorsCryptoman)
#### Post date: [August 7, 2023, 5:47am UTC](https://forum.osmosis.zone/t/upload-the-new-version-of-pyth-network-contract/183/4 "2023-08-07T05:47:22Z")

</div>

And the same code applied on the other chains will be implemented on Osmosis, I guess?

---

<div class="post-metadata">

### Author: ![amin](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@amin](https://forum.osmosis.zone/u/amin)
#### Post date: [August 7, 2023, 6:03am UTC](https://forum.osmosis.zone/t/upload-the-new-version-of-pyth-network-contract/183/5 "2023-08-07T06:03:40Z")

</div>

Correct, this would be the exact same code compiled for osmosis chain.

---

<div class="post-metadata">

### Author: ![LeonoorsCryptoman](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.osmosis.zone/leonoorscryptoman/32/208_2.png) [@LeonoorsCryptoman](https://forum.osmosis.zone/u/LeonoorsCryptoman)
#### Post date: [August 9, 2023, 5:38am UTC](https://forum.osmosis.zone/t/upload-the-new-version-of-pyth-network-contract/183/6 "2023-08-09T05:38:45Z")

</div>

That is a good thing imo, since the code has been tested (and is being used) on other places already giving it some trackrecord.
