# \[PASSED\] OP-PIP-72: Entropy v2 Upgrade on Abstract Testnet

**URL:** <https://forum.pyth.network/t/passed-op-pip-72-entropy-v2-upgrade-on-abstract-testnet/2132>\
**Category:** Proposals\
**Tags:** operational-pip\
**Created:** [May 16, 2025, 2:55pm UTC](https://forum.pyth.network/t/passed-op-pip-72-entropy-v2-upgrade-on-abstract-testnet/2132 "2025-05-16T14:55:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jayant](https://avatars.discourse-cdn.com/v4/letter/j/ecb155/32.png) [@jayant](https://forum.pyth.network/u/jayant)\
**Post date:** [May 16, 2025, 2:55pm UTC](https://forum.pyth.network/t/passed-op-pip-72-entropy-v2-upgrade-on-abstract-testnet/2132/1 "2025-05-16T14:55:38Z")

</div>

Abstract  
Upgrade the Entropy contract on Abstract testnet to version 2.0. This chain is a zksync chain, and therefore needs special handling compared to other EVM chains.  
This is a follow up to the previous Entropy 2.0 testnet upgrade proposal:

> [@\[PASSED\] OP-PIP-71: Entropy v2 Testnet Upgrade](https://forum.pyth.network/t/ongoing-op-pip-71-entropy-v2-testnet-upgrade/2131):
>
> Abstract Upgrade the Entropy contracts on testnet to version 2.0. Rationale The v2.0 upgrade will introduce significant quality of life improvements for all Entropy users. Description Entropy version 2.0 introduces several developer experience upgrades around callbacks, including configurable gas limits and better error reporting. It also improves the event definition and simplifies the user-facing API. PRs Implementation Proposal: [Pyth Network](https://proposals.pyth.network/?cluster=mainnet-beta&tab=proposals&proposal=2RPsc4JmBmapKUV8rGuzriBY8wzepueApVg8aEGdEQhG) Make sure you have node-js, …

Verification instructions:

1. Make sure you have node-js, forge and jq installed.

a. node-js: install `nvm` from [here](https://github.com/nvm-sh/nvm). Install node-js 22 (`nvm install 22; nvm use 22`)  
b. forge: install it from [here](https://getfoundry.sh/)  
c. jq: install it from [here](https://jqlang.github.io/jq/)

1. Clone the `pyth-crosschain` repo (`git clone ` `https://github.com/pyth-network/pyth-crosschain.git`). Go to the `pyth-crosschain` directory and run the following command: `pnpm i`
2. Get the on-chain implementation code digest by going to the `contract_manager` directory and running `pnpm exec ts-node scripts/check_proposal.ts --cluster mainnet-beta --proposal <proposal id>`
3. Get the source code digest by going to the `target_chains/ethereum/contracts` directory and running ` pnpm exec hardhat compile && cat build/contracts/EntropyUpgradable.json | jq -r .deployedBytecode | tr -d '\r\n' | cast keccak`
4. Check the hash digest from the on-chain implementation (from step 2) matches the hash digest from the source code (from step 3).

Governance proposal:

> **[Pyth Network](https://proposals.pyth.network/?cluster=mainnet-beta&tab=proposals&proposal=DEPDjDUQHp5QHwW2xnFwrndo4eT7PMAWYEbXm8H7W9S6)**
>
> Pyth is building a way to deliver a decentralized, cross-chain market of verifiable data from first-party sources to any smart contract, anywhere.

---

<div class="post-metadata">

**Author:** ![Pyth-DAO](https://avatars.discourse-cdn.com/v4/letter/p/edb3f5/32.png) [@Pyth-DAO](https://forum.pyth.network/u/Pyth-DAO)\
**Post date:** [May 20, 2025, 12:54pm UTC](https://forum.pyth.network/t/passed-op-pip-72-entropy-v2-upgrade-on-abstract-testnet/2132/2 "2025-05-20T12:54:32Z")

</div>


