Skip to content

Commit 7d6ce5d

Browse files
committed
chore(contract_manager): add monad testnet deplmnt on beta channel
This change also modifies deploy.sh to remove the double build
1 parent 4ab8195 commit 7d6ce5d

File tree

5 files changed

+12
-14
lines changed

5 files changed

+12
-14
lines changed

contract_manager/store/chains/EvmChains.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@
851851
type: EvmChain
852852
- id: monad_testnet
853853
mainnet: false
854-
rpcUrl: https://rpc.monad-testnet.category.xyz/rpc/nSyzM1wlIgaALWzbh3oIg5rW65AC6yjqrslOE8wb
854+
rpcUrl: https://testnet-rpc.monad.xyz
855855
networkId: 10143
856856
type: EvmChain
857857
- id: berachain_mainnet

contract_manager/store/contracts/EvmPriceFeedContracts.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -490,3 +490,6 @@
490490
- chain: bittensor_mainnet
491491
address: "0x2880aB155794e7179c9eE2e38200202908C17B43"
492492
type: EvmPriceFeedContract
493+
- chain: monad_testnet # This is on beta channel
494+
address: "0xad2B52D2af1a9bD5c561894Cdd84f7505e1CD0B5"
495+
type: EvmPriceFeedContract

contract_manager/store/contracts/EvmWormholeContracts.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -484,3 +484,6 @@
484484
- chain: bittensor_mainnet
485485
address: "0xb27e5ca259702f209a29225d0eDdC131039C9933"
486486
type: EvmWormholeContract
487+
- chain: monad_testnet # this is on beta channel
488+
address: "0xd74CdD8Eef0E97a5a7678F907991316f88E7965A"
489+
type: EvmWormholeContract
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
- chain: near
22
address: pyth-oracle.near
3-
type: NearPriceFeedContract
43
governanceDataSourceChain: 1
54
governanceDataSourceAddress: 5635979a221c34931e32620b9293a463065555ea71fe97cd6237ade875b12e9e
65
lastExecutedGovernanceSequence: 408
6+
type: NearPriceFeedContract
77
- chain: near_testnet
88
address: pyth-oracle.testnet
9-
type: NearPriceFeedContract
109
governanceDataSourceChain: 1
1110
governanceDataSourceAddress: 63278d271099bfd491951b3e648f08b1c71631e4a53674ad43e8f9f98068c385
1211
lastExecutedGovernanceSequence: 100
12+
type: NearPriceFeedContract

target_chains/ethereum/contracts/deploy.sh

+3-11
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,16 @@
1111
# $ ./deploy.sh ethereum bnb avalanche
1212
set -euo pipefail
1313

14-
echo "=========== Building dependencies ==========="
15-
pushd ../../../
16-
pnpm turbo build --filter @pythnetwork/pyth-evm-contract
17-
popd
18-
19-
echo "=========== Compiling ==========="
20-
2114
if [[ -e contracts/pyth/PythUpgradable_merged.sol ]]; then
2215
echo "Flattened contract PythUpgradable_merged.sol exists. Removing before compiling."
2316
rm contracts/pyth/PythUpgradable_merged.sol
2417
fi
2518

26-
echo "Building the contracts..."
27-
# Ensure that we deploy a fresh build with up-to-date dependencies.
28-
rm -rf build && pnpm exec truffle compile --all
19+
echo "=========== Building dependencies & compiling contract ==========="
20+
pnpm turbo build --filter @pythnetwork/pyth-evm-contract
2921

3022
echo "Deploying the contracts..."
3123

3224
pushd ../../../contract_manager/
3325

34-
pnpm exec ts-node scripts/deploy_evm_pricefeed_contracts.ts --std-output-dir ../target_chains/ethereum/contracts/build/contracts --private-key $PK --chain "$@"
26+
pnpm exec ts-node scripts/deploy_evm_pricefeed_contracts.ts --std-output-dir ../target_chains/ethereum/contracts/build/contracts --private-key $PK --deployment-type "stable" --chain "$@"

0 commit comments

Comments
 (0)