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:
Verification instructions:
- Make sure you have node-js, forge and jq installed.
a. node-js: install nvm
from here. Install node-js 22 (nvm install 22; nvm use 22
)
b. forge: install it from here
c. jq: install it from here
- Clone the
pyth-crosschain
repo (git clone
https://github.com/pyth-network/pyth-crosschain.git
). Go to thepyth-crosschain
directory and run the following command:pnpm i
- Get the on-chain implementation code digest by going to the
contract_manager
directory and runningpnpm exec ts-node scripts/check_proposal.ts --cluster mainnet-beta --proposal <proposal id>
- Get the source code digest by going to the
target_chains/ethereum/contracts
directory and runningpnpm exec hardhat compile && cat build/contracts/EntropyUpgradable.json | jq -r .deployedBytecode | tr -d '\r\n' | cast keccak
- 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: