Skip to content

Commit e9944b3

Browse files
committed
same file name for guardianSet
1 parent 99124ce commit e9944b3

File tree

6 files changed

+218
-7
lines changed

6 files changed

+218
-7
lines changed

target_chains/ethereum/contracts/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ To deploy the contracts, you'll need to set up your environment variables and us
4747
1. Copy the environment template and fill in your values:
4848

4949
```bash
50-
cp .env.template .env
50+
cp .env.test .env
5151
# Edit .env with your configuration
5252
```
5353

@@ -86,7 +86,7 @@ After deploying Wormhole contracts on mainnet, you need to sync the guardian set
8686

8787
```bash
8888
# Set WORMHOLE_ADDRESS in your .env file to the deployed Wormhole contract address
89-
npm run sync-guardian-sets
89+
npm run receiver-submit-guardian-sets
9090
```
9191

9292
This script submits the pre-configured mainnet guardian set upgrade VAAs to bring your contract up to date with the current mainnet guardian set.

target_chains/ethereum/contracts/broadcast/Deploy.s.sol/84532/run-1755773056602.json

Lines changed: 107 additions & 0 deletions
Large diffs are not rendered by default.

target_chains/ethereum/contracts/broadcast/Deploy.s.sol/84532/run-latest.json

Lines changed: 107 additions & 0 deletions
Large diffs are not rendered by default.

target_chains/ethereum/contracts/forge-test/PythGovernance.t.sol

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
// SPDX-License-Identifier: Apache 2
22

3-
// NOTE: These tests were migrated from target_chains/ethereum/contracts/test/pyth.js but exclude the Wormhole-specific tests,
4-
// which remain in the original JavaScript test file.
5-
63
pragma solidity ^0.8.0;
74

85
import "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol";

target_chains/ethereum/contracts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"test": "forge test",
1818
"deploy": "forge script script/Deploy.s.sol --rpc-url $RPC_URL --broadcast --verify",
1919
"deploy-local": "forge script script/Deploy.s.sol --rpc-url http://localhost:8545 --broadcast",
20-
"sync-guardian-sets": "forge script script/SyncGuardianSets.s.sol --rpc-url $RPC_URL --broadcast",
20+
"receiver-submit-guardian-sets": "forge script script/ReceiverSubmitGuardianSetUpgrades.s.sol --rpc-url $RPC_URL --broadcast",
2121
"create-governance-vaa": "forge script script/CreateLocalnetGovernanceVaa.s.sol",
2222
"install-forge-deps": "forge install foundry-rs/[email protected] --no-git",
2323
"coverage": "./coverage.sh",

target_chains/ethereum/contracts/script/SyncGuardianSets.s.sol renamed to target_chains/ethereum/contracts/script/ReceiverSubmitGuardianSetUpgrades.s.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import "forge-std/console.sol";
88
import "../contracts/wormhole/interfaces/IWormhole.sol";
99
import "../contracts/wormhole/Governance.sol";
1010

11-
contract SyncGuardianSetsScript is Script {
11+
contract ReceiverSubmitGuardianSetUpgradesScript is Script {
1212
// Mainnet guardian set upgrade VAAs (these are the official mainnet VAAs)
1313
string[] private MAINNET_UPGRADE_VAAS = [
1414
"010000000001007ac31b282c2aeeeb37f3385ee0de5f8e421d30b9e5ae8ba3d4375c1c77a86e77159bb697d9c456d6f8c02d22a94b1279b65b0d6a9957e7d3857423845ac758e300610ac1d2000000030001000000000000000000000000000000000000000000000000000000000000000400000000000005390000000000000000000000000000000000000000000000000000000000436f7265020000000000011358cc3ae5c097b213ce3c81979e1b9f9570746aa5ff6cb952589bde862c25ef4392132fb9d4a42157114de8460193bdf3a2fcf81f86a09765f4762fd1107a0086b32d7a0977926a205131d8731d39cbeb8c82b2fd82faed2711d59af0f2499d16e726f6b211b39756c042441be6d8650b69b54ebe715e234354ce5b4d348fb74b958e8966e2ec3dbd4958a7cdeb5f7389fa26941519f0863349c223b73a6ddee774a3bf913953d695260d88bc1aa25a4eee363ef0000ac0076727b35fbea2dac28fee5ccb0fea768eaf45ced136b9d9e24903464ae889f5c8a723fc14f93124b7c738843cbb89e864c862c38cddcccf95d2cc37a4dc036a8d232b48f62cdd4731412f4890da798f6896a3331f64b48c12d1d57fd9cbe7081171aa1be1d36cafe3867910f99c09e347899c19c38192b6e7387ccd768277c17dab1b7a5027c0b3cf178e21ad2e77ae06711549cfbb1f9c7a9d8096e85e1487f35515d02a92753504a8d75471b9f49edb6fbebc898f403e4773e95feb15e80c9a99c8348d",

0 commit comments

Comments
 (0)