File tree Expand file tree Collapse file tree 4 files changed +264
-25
lines changed Expand file tree Collapse file tree 4 files changed +264
-25
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @openzeppelin/hardhat-upgrades ' : patch
3
+ ---
4
+
5
+ Support contract verification via etherscan V2 API.
6
+ - ** Potentially breaking changes** : Changes peer dependencies to the following:
7
+ - ` "@nomicfoundation/hardhat-ethers": "^3.0.6" `
8
+ - ` "@nomicfoundation/hardhat-verify": "^2.0.14" `
9
+ - ` "hardhat": "^2.24.1" `
Original file line number Diff line number Diff line change 20
20
"test:watch" : " fgbg 'bash scripts/test.sh --watch' 'tsc -b --watch' --"
21
21
},
22
22
"devDependencies" : {
23
- "@nomicfoundation/hardhat-ethers" : " ^3.0.5 " ,
24
- "@nomicfoundation/hardhat-verify" : " ^2.0.0 " ,
23
+ "@nomicfoundation/hardhat-ethers" : " ^3.0.6 " ,
24
+ "@nomicfoundation/hardhat-verify" : " ^2.0.14 " ,
25
25
"@openzeppelin/contracts" : " 5.3.0" ,
26
26
"@openzeppelin/contracts-upgradeable" : " 5.3.0" ,
27
27
"@types/mocha" : " ^7.0.2" ,
28
28
"ava" : " ^6.0.0" ,
29
29
"fgbg" : " ^0.1.4" ,
30
- "hardhat" : " ^2.19 .1" ,
30
+ "hardhat" : " ^2.24 .1" ,
31
31
"promisified" : " ^0.5.0" ,
32
32
"proxyquire" : " ^2.1.3" ,
33
33
"rimraf" : " ^5.0.0" ,
45
45
"undici" : " ^6.11.1"
46
46
},
47
47
"peerDependencies" : {
48
- "@nomicfoundation/hardhat-ethers" : " ^3.0.0 " ,
49
- "@nomicfoundation/hardhat-verify" : " ^2.0.0 " ,
48
+ "@nomicfoundation/hardhat-ethers" : " ^3.0.6 " ,
49
+ "@nomicfoundation/hardhat-verify" : " ^2.0.14 " ,
50
50
"ethers" : " ^6.6.0" ,
51
- "hardhat" : " ^2.0.2 "
51
+ "hardhat" : " ^2.24.1 "
52
52
},
53
53
"peerDependenciesMeta" : {
54
54
"@nomicfoundation/hardhat-verify" : {
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import { Etherscan } from '@nomicfoundation/hardhat-verify/etherscan';
14
14
* @returns The Etherscan API response
15
15
*/
16
16
export async function callEtherscanApi ( etherscan : Etherscan , params : any ) : Promise < EtherscanResponseBody > {
17
- const parameters = { ...params , apikey : etherscan . apiKey } ;
17
+ const parameters = { ...params , apikey : etherscan . apiKey , chainid : etherscan . chainId } ;
18
18
const response = await request ( etherscan . apiUrl , {
19
19
method : 'POST' ,
20
20
query : parameters ,
You can’t perform that action at this time.
0 commit comments