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

Add Sepolia / Arbitrum Sepolia support for Arbitrum cross-chain #753

Merged
merged 9 commits into from
Feb 19, 2024

Commits on Nov 22, 2023

  1. Add Sepolia / Arbitrum Sepolia support for Arbitrum cross-chain

    The Goerli testnet currently used by Threshold/Keep for development purposes is
    planned to become deprecated with the end of year 2023. The testnet that was
    created to replace it is called
    [Holešky](https://github.com/eth-clients/holesky), however it will take some
    time until it gets integrated with by some of the projects we rely on.
    As a solution, we decided to switch first to another testnet that is currently
    live - Sepolia. This testnet's EOL is planned for 2026, which gives us plenty of
    time to move to Holešky before Sepolia gets deprecated.
    Until Görli is not dead we want to support both testnets.
    
    The Goerli -> Sepolia migration means that also L2 testnet basing on Goerli
    (Base Goerli) needs to be migrated to Sepolia-based chain (Arbitrum Sepolia).
    At the moment Arbitrum Sepolia is not supported by Wormhole, so deployment of our
    contracts on that testnet is yet not possible. But we're already adding changes
    that prepare us for the moment when it will be supported.
    Once support is confirmed, we'll need to verify if `wormholeChainID` we use in
    the config is correct for the testnet.
    michalinacienciala committed Nov 22, 2023
    Configuration menu
    Copy the full SHA
    dd399fb View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2024

  1. Add custom hardhat-verify config for Arbitrum Sepolia

    The Arbitrum Sepolia testnet is not on the list of chains supported by the
    `hardhat-verify` plugin
    (https://github.com/NomicFoundation/hardhat/blob/main/packages/hardhat-verify/src/internal/chain-config.ts).
    We're adding a custom configuration that will make the contracts verification
    possible on that testnet (following the
    https://hardhat.org/hardhat-runner/plugins/nomicfoundation-hardhat-verify#adding-support-for-other-networks
    docs).
    michalinacienciala committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    a19169c View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2024

  1. Make ...WormholeChainID values dependable on the environment

    Wormhole has added support for Arbitrum Sepolia, Base Sepolia and Optimism
    Sepolia testnets. We want to modify the config of our deployment scripts so that
    deployment on Sepolia-based L2s would be possible. As the Chain IDs for Wormhole
    Sepolia-based networks differ from from IDs for Mainnet and Goerli-based
    testnets, we need to set the right value of `...WormholeChainID` constant for
    the the right network we're deploying to.
    michalinacienciala committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    f8d59a3 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2024

  1. Add Sepolia-related external contracts

    Adding Sepolia-related contracts needed for deployment on `arbitrumSepolia`
    network:
    * `external/arbitrumSepolia/ArbitrumTokenBridge.json` - address taken from
      https://docs.wormhole.com/wormhole/blockchain-environments/evm#testnet-contracts-sepolia-421614
    * `external/arbitrumSepolia/SolanaWormholeGateway.json` - used the same value as
      in `arbitrumGoreli`
    * `external/sepolia/TokenBridge.json` - address taken from
      https://docs.wormhole.com/wormhole/blockchain-environments/evm#testnet-contracts-sepolia-11155111
    
    NOT included in this commit (but needed for the deployment):
    * `external/arbitrumSepolia/ArbitrumWormholeTBTC.json` - in order to get the
      address we need to perform attestation of the Ethereum Sepolia TBTC token on
      Arbitrum Sepolia (but atm Arbitrum Sepolia is not available on the list of
      target networks on
      https://wormhole-foundation.github.io/example-token-bridge-ui/#/register)
    michalinacienciala committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    a01e071 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2024

  1. Add ArbitrumWormholeTBTC.json after registration in Wormhole Portal

    Locally deployed portal was used to register TBTC.
    michalinacienciala committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    981a62d View commit details
    Browse the repository at this point in the history
  2. Add contract artifacts for Arbitrum Sepolia

    We're adding artifacts for contracts deployed to Arbitrum Sepolia network.
    michalinacienciala committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    0f597de View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2024

  1. Fix deployment script dependencies

    Some dependencies were wrong/missing.
    michalinacienciala committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    86c8209 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bcd4ec5 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2024

  1. Configuration menu
    Copy the full SHA
    109fcaa View commit details
    Browse the repository at this point in the history