Skip to content

Commit 10df18b

Browse files
committed
update hardhat-verify & enable sourcify
1 parent 3bf543a commit 10df18b

4 files changed

Lines changed: 19 additions & 79 deletions

File tree

hardhat.config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,10 @@ const config: HardhatUserConfig = {
354354
outputFile: process.env.REPORT_GAS_FILE ? './gas_report.md' : undefined,
355355
noColors: !!process.env.REPORT_GAS_FILE,
356356
},
357+
sourcify: {
358+
// Doesn't need an API key
359+
enabled: true
360+
},
357361
etherscan: {
358362
apiKey: {
359363
polygonZKEVMTestnet: `${process.env.ETHERSCAN_ZKEVM_API_KEY}`,

package-lock.json

Lines changed: 7 additions & 77 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"@nomicfoundation/hardhat-chai-matchers": "^2.0.8",
3535
"@nomicfoundation/hardhat-ledger": "^1.2.2",
3636
"@nomicfoundation/hardhat-network-helpers": "^1.0.12",
37-
"@nomicfoundation/hardhat-verify": "^1.1.1",
37+
"@nomicfoundation/hardhat-verify": "^2.1.3",
3838
"@nomiclabs/hardhat-solhint": "^4.0.1",
3939
"@openzeppelin/contracts-upgradeable4": "npm:@openzeppelin/contracts-upgradeable@4.8.2",
4040
"@openzeppelin/contracts-upgradeable5": "npm:@openzeppelin/contracts-upgradeable@5.0.0",
@@ -70,6 +70,11 @@
7070
"typechain": "^8.3.2",
7171
"winston": "^3.17.0"
7272
},
73+
"overrides": {
74+
"@openzeppelin/hardhat-upgrades": {
75+
"@nomicfoundation/hardhat-verify": "$@nomicfoundation/hardhat-verify"
76+
}
77+
},
7378
"scripts": {
7479
"saveDeployment:mainnet": "mkdir -p deployments/mainnet_$(date +%s) && cp -r deployment/v2/deploy_*.json deployments/mainnet_$(date +%s) && cp .openzeppelin/mainnet.json deployments/mainnet_$(date +%s) && cp deployment/v2/genesis.json deployments/mainnet_$(date +%s) && cp deployment/v2/create_rollup_output_*.json deployments/mainnet_$(date +%s)",
7580
"test": "npx hardhat test test/index.test.js test/contractsv2/*ts test/contractsv2/real-prover-sp1/*.ts test/src/*.ts",

tools/getLBT/.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
parameters.json
22
WTokens*
3-
LBT*
3+
LBT*
4+
events.json

0 commit comments

Comments
 (0)