Skip to content

Commit 6818317

Browse files
committed
fixed foundry verification
1 parent 2f7b5bb commit 6818317

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/content/docs/en/developers/verifying-smart-contracts.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,5 +84,9 @@ npx hardhat verify --network scrollSepolia 0xD9880690bd717189cC3Fbe7B9020F27fae7
8484
When using Foundry, the `verify-contract` helps automate the process of verifying contracts.
8585

8686
```bash
87-
forge verify-contract <Contract Address> <Space separated params> <Solidity file>:<Contract name> --chain-id 534351 --verifier-url <https://sepolia-blockscout.scroll.io/api> --verifier blockscout
87+
forge verify-contract <Contract Address> <Space separated params> <Solidity file>:<Contract name> --chain-id 534351 --verifier-url https://sepolia-blockscout.scroll.io/api\? --verifier blockscout
8888
```
89+
90+
<Aside type="danger" title="Warning">
91+
Notice we add `\?` at the end of the verifier URL or otherwise verification would fail. (Last tested on forge v0.2.0).
92+
</Aside>

0 commit comments

Comments
 (0)