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

feat(forge): add support for Optimism Sepolia in "verify-contract" #6232

Closed
PierrickGT opened this issue Nov 6, 2023 · 0 comments · Fixed by #6233
Closed

feat(forge): add support for Optimism Sepolia in "verify-contract" #6232

PierrickGT opened this issue Nov 6, 2023 · 0 comments · Fixed by #6233
Labels
T-feature Type: feature

Comments

@PierrickGT
Copy link
Contributor

Component

Forge

Describe the feature you would like

Optimism has released a Sepolia test network: https://community.optimism.io/docs/useful-tools/networks/#op-sepolia

When running forge verify for this network, the following error is displayed:

error: invalid value 'optimism-sepolia' for '--chain <CHAIN>'
  [possible values: mainnet, morden, ropsten, rinkeby, goerli, kovan, holesky, sepolia, optimism, optimism-kovan, optimism-goerli, arbitrum, arbitrum-testnet, arbitrum-goerli, arbitrum-sepolia, arbitrum-nova, cronos, cronos-testnet, rsk, bsc, bsc-testnet, poa, sokol, scroll, scroll-alpha-testnet, metis, xdai, polygon, mumbai, polygon-zkevm, polygon-zkevm-testnet, fantom, fantom-testnet, moonbeam, moonbeam-dev, moonriver, moonbase, dev, anvil-hardhat, evmos, evmos-testnet, chiado, oasis, emerald, emerald-testnet, filecoin-mainnet, filecoin-calibration-testnet, avalanche, fuji, celo, celo-alfajores, celo-baklava, aurora, aurora-testnet, canto, canto-testnet, boba, base, base-goerli, linea, linea-testnet, zksync, zksync-testnet, mantle, mantle-testnet]

  tip: a similar value exists: 'optimism-goerli'

I have opened the following PR in the ether-rs repository to support Optimism Sepolia: gakonst/ethers-rs#2665
Once this PR merged and the package updated in foundry, we should be able to verify contracts on the Optimism Sepolia chain.

Additional context

No response

@PierrickGT PierrickGT added the T-feature Type: feature label Nov 6, 2023
@gakonst gakonst added this to Foundry Nov 6, 2023
@github-project-automation github-project-automation bot moved this to Todo in Foundry Nov 6, 2023
@github-project-automation github-project-automation bot moved this from Todo to Done in Foundry Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-feature Type: feature
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant