Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove support for Goerli testnet #790

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
1 change: 0 additions & 1 deletion cross-chain/arbitrum/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
/deployments/*
!/deployments/mainnet/
!/deployments/arbitrumOne/
!/deployments/arbitrumGoerli/
!/deployments/arbitrumSepolia/

# OZ
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import type { HardhatRuntimeEnvironment } from "hardhat/types"
import type { DeployFunction } from "hardhat-deploy/types"

const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {

Check warning on line 4 in cross-chain/arbitrum/deploy_l2/12_update_wormhole_gateway_mapping.ts

View workflow job for this annotation

GitHub Actions / contracts-format

Unexpected unnamed async function
const { deployments, getNamedAccounts, ethers } = hre
const { execute } = deployments
const { deployer } = await getNamedAccounts()

// See https://docs.wormhole.com/wormhole/blockchain-environments/evm#arbitrum
// and https://docs.wormhole.com/wormhole/blockchain-environments/evm#arbitrum-sepolia
// The value `23` is valid for both Arbitrum Goerli and Arbitrum Mainnet. The
// value for Arbitrum Sepolia is `10003`.
// The value `23` is valid for both Arbitrum Mainnet. The value for Arbitrum
// Sepolia is `10003`.
const wormholeChainID = hre.network.name === "arbitrumSepolia" ? 10003 : 23

const ArbitrumWormholeGateway = await deployments.get(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {

// See https://docs.wormhole.com/wormhole/blockchain-environments/evm#optimism
// and https://docs.wormhole.com/wormhole/blockchain-environments/evm#optimism-sepolia
// The value `24` is valid for both Optimism Goerli and Optimism Mainnet. The
// value for Optimism Sepolia is `10005`.
// The value `24` is valid for Optimism Mainnet. The value for Optimism
// Sepolia is `10005`.
const optimismWormholeChainID =
hre.network.name === "arbitrumSepolia" ? 10005 : 24

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
const fakePolygonWormholeGateway =
"0x1af5DC16568EFF2d480a43A77E6C409e497FcFb9"

// This ID is valid for both Polygonn Goerli-based Testnet (Mumbai) and
// Mainnet. Wormhole does not support the Sepolia-based Amoy Testnet yet.
// This ID is valid for Polygon Mainnet. Wormhole does not support the
// Sepolia-based Amoy Testnet yet.
// TODO: Update the ID once the support is added.
const polygonWormholeChainID = 5

Expand Down
1 change: 0 additions & 1 deletion cross-chain/arbitrum/deployments/arbitrumGoerli/.chainId

This file was deleted.

Loading
Loading