Skip to content

Commit 28480c0

Browse files
authored
fixed foundry verification (#103)
1 parent b9a8093 commit 28480c0

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
@@ -91,5 +91,9 @@ npx hardhat verify --network scrollSepolia 0xD9880690bd717189cC3Fbe7B9020F27fae7
9191
When using Foundry, the `verify-contract` helps automate the process of verifying contracts.
9292

9393
```bash
94-
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
94+
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
9595
```
96+
97+
<Aside type="danger" title="Warning">
98+
Notice we add `\?` at the end of the verifier URL or otherwise verification would fail. (Last tested on forge v0.2.0).
99+
</Aside>

0 commit comments

Comments
 (0)