Skip to content

Commit 345257a

Browse files
authored
Deploy Pyth on Celo Sepolia testnet (#3274)
1 parent 9c02116 commit 345257a

File tree

8 files changed

+26
-2
lines changed

8 files changed

+26
-2
lines changed

apps/developer-hub/content/docs/price-feeds/core/contract-addresses/evm.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ Pyth is currently available on the EVM networks below using Pyth Stable price so
101101
| Ble testnet | <CopyAddress address="0x2880aB155794e7179c9eE2e38200202908C17B43" url="https://explorer-ethena-testnet-0.t.conduit.xyz/address/0x2880aB155794e7179c9eE2e38200202908C17B43" /> |
102102
| Boba Sepolia (testnet) | <CopyAddress address="0x8D254a21b3C86D32F7179855531CE99164721933" url="https://28882.testnet.routescan.io/address/0x8D254a21b3C86D32F7179855531CE99164721933" /> |
103103
| Celo Alfajores (testnet) | <CopyAddress address="0x74f09cb3c7e2A01865f424FD14F6dc9A14E3e94E" url="https://explorer.celo.org/alfajores/address/0x74f09cb3c7e2A01865f424FD14F6dc9A14E3e94E" /> |
104+
| Celo Sepolia (testnet) | <CopyAddress address="0x2880aB155794e7179c9eE2e38200202908C17B43" url="https://sepolia.celoscan.io/address/0x2880aB155794e7179c9eE2e38200202908C17B43" /> |
104105
| Chiado (Gnosis testnet) | <CopyAddress address="0x98046Bd286715D3B0BC227Dd7a956b83D8978603" url="https://blockscout.com/gnosis/chiado/address/0x98046Bd286715D3B0BC227Dd7a956b83D8978603" /> |
105106
| Chiliz testnet | <CopyAddress address="0x23f0e8FAeE7bbb405E7A7C3d60138FCfd43d7509" url="https://spicy-explorer.chiliz.com/address/0x23f0e8FAeE7bbb405E7A7C3d60138FCfd43d7509" /> |
106107
| Conflux eSpace testnet | <CopyAddress address="0xDd24F84d36BF92C65F92307595335bdFab5Bbd21" url="https://evmtestnet.confluxscan.io/address/0xDd24F84d36BF92C65F92307595335bdFab5Bbd21" /> |

contract_manager/src/store/chains/EvmChains.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1384,5 +1384,12 @@
13841384
"rpcUrl": "https://subnets.avax.network/orange/mainnet/rpc",
13851385
"networkId": 1510,
13861386
"type": "EvmChain"
1387+
},
1388+
{
1389+
"id": "celo_sepolia_testnet",
1390+
"mainnet": false,
1391+
"rpcUrl": "https://forno.celo-sepolia.celo-testnet.org",
1392+
"networkId": 11142220,
1393+
"type": "EvmChain"
13871394
}
13881395
]

contract_manager/src/store/contracts/EvmPriceFeedContracts.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -913,5 +913,10 @@
913913
"chain": "orange",
914914
"address": "0x2880aB155794e7179c9eE2e38200202908C17B43",
915915
"type": "EvmPriceFeedContract"
916+
},
917+
{
918+
"chain": "celo_sepolia_testnet",
919+
"address": "0x2880aB155794e7179c9eE2e38200202908C17B43",
920+
"type": "EvmPriceFeedContract"
916921
}
917922
]

contract_manager/src/store/contracts/EvmWormholeContracts.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -923,5 +923,10 @@
923923
"chain": "orange",
924924
"address": "0xb27e5ca259702f209a29225d0eDdC131039C9933",
925925
"type": "EvmWormholeContract"
926+
},
927+
{
928+
"chain": "celo_sepolia_testnet",
929+
"address": "0xb27e5ca259702f209a29225d0eDdC131039C9933",
930+
"type": "EvmWormholeContract"
926931
}
927932
]

governance/xc_admin/packages/xc_admin_common/src/chains.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ export const RECEIVER_CHAINS = {
266266
hoodi: 50134, // Ethereum hoodi, the new Ethereum testnet
267267
taiko_hoodi: 50135,
268268
morph_hoodi: 50136,
269+
celo_sepolia_testnet: 50137,
269270
};
270271

271272
// If there is any overlapping value the receiver chain will replace the wormhole

pnpm-lock.yaml

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

target_chains/ethereum/contracts/deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ pnpm turbo build --filter @pythnetwork/pyth-evm-contract
4444

4545
echo "=========== Deploying the contracts ==========="
4646

47-
pnpm --filter=@pythnetwork/contract-manager exec ts-node scripts/deploy_evm_pricefeed_contracts.ts --std-output-dir $stdoutputdir --private-key $PK --chain "$@"
47+
pnpm --filter=@pythnetwork/contract-manager exec tsx scripts/deploy_evm_pricefeed_contracts.ts --std-output-dir $stdoutputdir --private-key $PK --chain "$@"
4848

4949
echo "=========== Cleaning up ==========="
5050
if [ -n "${tmpdir:-}" ]; then

target_chains/ethereum/contracts/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@
3030
"@matterlabs/hardhat-zksync": "^1.1.0",
3131
"@matterlabs/hardhat-zksync-deploy": "^0.6.6",
3232
"@matterlabs/hardhat-zksync-solc": "^0.3.14",
33+
"@nomad-xyz/excessively-safe-call": "^0.0.1-rc.1",
3334
"@nomiclabs/hardhat-etherscan": "^3.1.7",
3435
"@openzeppelin/contracts": "=4.8.1",
3536
"@openzeppelin/contracts-upgradeable": "=4.8.1",
3637
"@openzeppelin/hardhat-upgrades": "^1.22.1",
37-
"@nomad-xyz/excessively-safe-call": "^0.0.1-rc.1",
3838
"@pythnetwork/contract-manager": "workspace:*",
3939
"@pythnetwork/entropy-sdk-solidity": "workspace:*",
4040
"@pythnetwork/pulse-sdk-solidity": "workspace:*",
@@ -49,6 +49,7 @@
4949
"lodash": "^4.17.21",
5050
"solc": "0.8.4",
5151
"ts-node": "catalog:",
52+
"tsx": "catalog:",
5253
"web3": "^1.2.2",
5354
"web3-eth-abi": "^1.2.2",
5455
"web3-utils": "^1.2.2",

0 commit comments

Comments
 (0)