Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions target_chains/ethereum/contracts/.env.template
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ INIT_GOV_CHAIN_ID=YOUR_GOV_CHAIN_ID_HERE
# Example: INIT_GOV_CONTRACT=0x0000000000000000000000000000000000000000000000000000000000000004
INIT_GOV_CONTRACT=YOUR_GOV_CONTRACT_ADDRESS_HERE

# Guardian Set Sync Configuration (set after deployment)
# Example: WORMHOLE_ADDRESS=0x0000000000000000000000000000000000000000
WORMHOLE_ADDRESS=DEPLOYED_WORMHOLE_ADDRESS_HERE

# =============================================================================
# PYTH CONFIGURATION
# =============================================================================
Expand Down
3 changes: 0 additions & 3 deletions target_chains/ethereum/contracts/.env.test
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ INIT_CHAIN_ID=2
INIT_GOV_CHAIN_ID=1
INIT_GOV_CONTRACT=0x0000000000000000000000000000000000000000000000000000000000000004

# Guardian Set Sync Configuration (will be set after deployment)
WORMHOLE_ADDRESS=0x0000000000000000000000000000000000000000

# =============================================================================
# PYTH TEST CONFIGURATION
# =============================================================================
Expand Down
11 changes: 0 additions & 11 deletions target_chains/ethereum/contracts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,17 +90,6 @@ The deployment script will:
npm run deploy-and-verify
```

### Guardian Set Sync

After deploying Wormhole contracts on mainnet, you need to sync the guardian sets to match the current mainnet state:

```bash
# Set WORMHOLE_ADDRESS in your .env file to the deployed Wormhole contract address
npm run receiver-submit-guardian-sets
```

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

### Gas Benchmarks

You can use foundry to run gas benchmark tests (which can be found in the `forge-test` directory). To run the tests with gas report
Expand Down
1 change: 0 additions & 1 deletion target_chains/ethereum/contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"deploy": "forge script script/Deploy.s.sol --rpc-url testnet --broadcast",
"deploy-and-verify": "forge script script/Deploy.s.sol --rpc-url testnet --broadcast --verify",
"deploy-local": "ETHERSCAN_API_KEY= forge script script/Deploy.s.sol --slow --rpc-url local --broadcast -vvvv",
"receiver-submit-guardian-sets": "forge script script/ReceiverSubmitGuardianSetUpgrades.s.sol --rpc-url $RPC_URL --broadcast",
"install-forge-deps": "forge install foundry-rs/[email protected] --no-git",
"coverage": "./coverage.sh",
"test:format": "prettier --check .",
Expand Down

This file was deleted.

70 changes: 0 additions & 70 deletions target_chains/ethereum/contracts/script/utils/VaaUtils.sol

This file was deleted.

Loading