Skip to content

Commit 2ae8367

Browse files
authored
docs: fix contract verification url (#142)
# Description The urls referenced for contract verification are incorrect. This fixes them with the zk parser tag that has the correct URL defined for both testnet and mainnet. These were added in matter-labs/docs-nuxt-template#56 ## Linked Issues Resolves #135
1 parent adc67c7 commit 2ae8367

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

content/00.build/40.tooling/20.hardhat/80.hardhat-zksync-verify.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ networks: {
7070
ethNetwork: "%%zk_testnet_identifier%%", // The Ethereum Web3 RPC URL, or the identifier of the network (e.g. `mainnet` or `sepolia`)
7171
zksync: true,
7272
// Verification endpoint for Sepolia
73-
verifyURL: '%%zk_testnet_block_explorer_url%%/contract_verification'
73+
verifyURL: '%%zk_testnet_contract_verification_url%%'
7474
}
7575
},
7676
// defaultNetwork: "zkTestnet", // optional (if not set, use '--network zkTestnet')
@@ -91,8 +91,8 @@ If you want to run a `hardhat-verify` verification, this field needs to be set t
9191
If set to `true`, the verification process will try to run the verification process on the ZKsync Era network.
9292
- `verifyURL` is a field that points to the verification endpoint for the specific ZKsync network.
9393
This parameter is optional, and its default value is the testnet verification url.
94-
- Testnet: `%%zk_testnet_block_explorer_url%%/contract_verification`
95-
- Mainnet: `%%zk_mainnet_block_explorer_url%%/contract_verification`
94+
- Testnet: `%%zk_testnet_contract_verification_url%%`
95+
- Mainnet: `%%zk_mainnet_contract_verification_url%%`
9696

9797
If you want to verify a smart contract on the Ethereum in the same project,
9898
it is important to add `etherscan` field and API key in the `hardhat.config.ts` file:

content/00.build/40.tooling/20.hardhat/90.hardhat-zksync-verify-vyper.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ networks: {
8181
ethNetwork: "%%zk_testnet_identifier%%", // The Ethereum Web3 RPC URL, or the identifier of the network (e.g. `mainnet` or `sepolia`)
8282
zksync: true,
8383
// Verification endpoint for Sepolia
84-
verifyURL: '%%zk_testnet_block_explorer_url%%/contract_verification'
84+
verifyURL: '%%zk_testnet_contract_verification_url%%'
8585
}
8686
},
8787
// defaultNetwork: "zkTestnet", // optional (if not set, use '--network zkTestnet')
@@ -100,8 +100,8 @@ This field is set to `true` for all ZKsync Era networks. Field value `true` is r
100100
If field is missing or if values is set to `false` plugin will throw a error.
101101
- `verifyURL` is a field that points to the verification endpoint for the specific ZKsync network.
102102
This parameter is optional, and its default value is the testnet verification url.
103-
- Testnet: `%%zk_testnet_block_explorer_url%%/contract_verification`
104-
- Mainnet: `%%zk_mainnet_block_explorer_url%%/contract_verification`
103+
- Testnet: `%%zk_testnet_contract_verification_url%%`
104+
- Mainnet: `%%zk_mainnet_contract_verification_url%%`
105105

106106
### Commands
107107

0 commit comments

Comments
 (0)