[eth] Redeploy shimmer testnet (#724)

This commit is contained in:
Ali Behjati 2023-03-28 10:11:56 +02:00 committed by GitHub
parent 7dad38ea89
commit 272f11aac2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 23 additions and 25 deletions

4
package-lock.json generated
View File

@ -27892,7 +27892,6 @@
"version": "4.0.5",
"resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.5.tgz",
"integrity": "sha512-HTm14iMQKK2FjFLRTM5lAVcyaUzOnqbPtesFIvREgXpJHdQm8bWS+GkQgIkfaBYRHuCnea7w8UVNfwiAQhlr9A==",
"hasInstallScript": true,
"optional": true,
"dependencies": {
"node-gyp-build": "^4.3.0"
@ -28222,7 +28221,6 @@
"version": "5.0.7",
"resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.7.tgz",
"integrity": "sha512-vLt1O5Pp+flcArHGIyKEQq883nBt8nN8tVBcoL0qUXj2XT1n7p70yGIq2VK98I5FdZ1YHc0wk/koOnHjnXWk1Q==",
"hasInstallScript": true,
"optional": true,
"dependencies": {
"node-gyp-build": "^4.3.0"
@ -49990,7 +49988,7 @@
},
"target_chains/ethereum/sdk/js": {
"name": "@pythnetwork/pyth-evm-js",
"version": "1.8.0",
"version": "1.10.0",
"license": "Apache-2.0",
"dependencies": {
"@pythnetwork/price-service-client": "*",

View File

@ -96,7 +96,7 @@ This is the deployment process:
9. If you are deploying to a new network, please add the new contract address to consumer facing libraries
and documentations. Please update the following resources:
- [Pyth Gitbook EVM Page](https://github.com/pyth-network/pyth-gitbook/blob/main/pythnet-price-feeds/evm.md#networks)
- [pyth-evm-js package](https://github.com/pyth-network/pyth-js/blob/main/pyth-evm-js/src/index.ts#L13)
- [pyth-evm-js package](../sdk/js/)
10. (Optional) You can test the deployed contract by sending and fetching a price update as described in the
[Testing](#testing) section below.
11. (Optional) Verify the contract as described in the [Verifying the contract](#verifying-the-contract) section.

View File

@ -45,7 +45,7 @@ module.exports = {
},
shimmer_testnet: {
url: "https://json-rpc.evm.testnet.shimmer.network",
chainId: 1070,
chainId: 1071,
accounts: {
mnemonic: process.env.MNEMONIC,
},
@ -67,7 +67,7 @@ module.exports = {
},
{
network: "shimmer_testnet",
chainId: 1070,
chainId: 1071,
urls: {
apiURL: "https://explorer.evm.testnet.shimmer.network/api",
browserURL: "https://explorer.evm.testnet.shimmer.network",

View File

@ -1,16 +0,0 @@
[
{
"contractName": "Migrations",
"address": "0x5e92a04Cb8591cb7d9FD40B77B474cde0fE44D36"
},
{
"contractName": "WormholeReceiver",
"address": "0xfD4EC459371580925319059306388D9753f72405",
"transactionHash": "0x5c78255a6dae47e47e1b5c528ef053554575dc0a1663c476595823204cab7795"
},
{
"contractName": "PythUpgradable",
"address": "0x354bF866A4B006C9AF9d9e06d9364217A8616E12",
"transactionHash": "0x5896bfc116287c1bd6637f4e45f9a6ff21a8ac787266fec3f7f2f2fe372731d5"
}
]

View File

@ -0,0 +1,16 @@
[
{
"contractName": "Migrations",
"address": "0xf5BBe9558F4Bf37F1eB82fb2CEdb1C775FA56832"
},
{
"contractName": "WormholeReceiver",
"address": "0x8250f4aF4B972684F7b336503E2D6dFeDeB1487a",
"transactionHash": "0xa0f9e2464c9457f370f23949000fd3cebcaf320f7c085907929dd55c000d688d"
},
{
"contractName": "PythUpgradable",
"address": "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
"transactionHash": "0x52ede0289f74c69ea78bd01b0c6452884528489edf5b4144e436e6f955927531"
}
]

View File

@ -194,7 +194,7 @@ module.exports = {
},
shimmer_testnet: {
provider: payerProvider(`https://json-rpc.evm.testnet.shimmer.network`),
network_id: 1070,
network_id: 1071,
verify: {
apiUrl: "https://explorer.evm.testnet.shimmer.network/api",
explorerUrl: "https://explorer.evm.testnet.shimmer.network",

View File

@ -1,6 +1,6 @@
{
"name": "@pythnetwork/pyth-evm-js",
"version": "1.9.0",
"version": "1.10.0",
"description": "Pyth Network EVM Utils in JS",
"homepage": "https://pyth.network",
"author": {

View File

@ -34,7 +34,7 @@ export const CONTRACT_ADDR: Record<string, string> = {
arbitrum_goerli: "0x939C0e902FF5B3F7BA666Cc8F6aC75EE76d3f900",
zksync_goerli: "0xC38B1dd611889Abc95d4E0a472A667c3671c08DE",
base_goerli: "0x5955C1478F0dAD753C7E2B4dD1b4bC530C64749f",
shimmer_testnet: "0x354bF866A4B006C9AF9d9e06d9364217A8616E12",
shimmer_testnet: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
chiado: "0xdDAf6D29b8bc81c1F0798a5e4c264ae89c16a72B", // Gnosis testnet
zksync: "0xf087c864AEccFb6A2Bf1Af6A0382B0d0f6c5D834",
evmos: "0x354bF866A4B006C9AF9d9e06d9364217A8616E12",