Skip to content

Commit

Permalink
Merge pull request #330 from 1inch/fix/dependabot-issues
Browse files Browse the repository at this point in the history
[SC-1220] Fix dependabot issues
  • Loading branch information
zZoMROT authored Aug 6, 2024
2 parents 91ad5df + 31e738e commit 6f5dcb3
Show file tree
Hide file tree
Showing 3 changed files with 1,109 additions and 1,043 deletions.
8 changes: 6 additions & 2 deletions hardhat.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
require('@matterlabs/hardhat-zksync-deploy');
require('@matterlabs/hardhat-zksync-solc');
require('@matterlabs/hardhat-zksync-verify');
require('@nomicfoundation/hardhat-verify');
require('@nomicfoundation/hardhat-chai-matchers');
require('solidity-coverage');
require('hardhat-dependency-compiler');
Expand All @@ -11,6 +9,12 @@ require('hardhat-tracer');
require('dotenv').config();
const { Networks, getNetwork } = require('@1inch/solidity-utils/hardhat-setup');

if (getNetwork().indexOf('zksync') !== -1) {
require('@matterlabs/hardhat-zksync-verify');
} else {
require('@nomicfoundation/hardhat-verify');
}

const { networks, etherscan } = (new Networks()).registerAll();

module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@1inch/solidity-utils": "4.2.1",
"@chainlink/contracts": "0.8.0",
"@gnosis.pm/safe-contracts": "1.3.0",
"@openzeppelin/contracts": "5.0.1"
"@openzeppelin/contracts": "5.0.2"
},
"devDependencies": {
"@matterlabs/hardhat-zksync-deploy": "1.1.2",
Expand Down
Loading

0 comments on commit 6f5dcb3

Please sign in to comment.