Skip to content

Commit

Permalink
Use old version of dependencies for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinNagpal committed Nov 27, 2024
1 parent 744f630 commit ddfe904
Show file tree
Hide file tree
Showing 4 changed files with 2,433 additions and 1,149 deletions.
6 changes: 4 additions & 2 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import '@nomiclabs/hardhat-ethers';
import '@nomiclabs/hardhat-etherscan';
import '@typechain/hardhat';
import 'hardhat-chai-matchers';
import 'hardhat-change-network';
// import 'hardhat-change-network';
import 'hardhat-contract-sizer';
import 'hardhat-cover';
import 'hardhat-gas-reporter';
Expand Down Expand Up @@ -322,7 +322,9 @@ const config: HardhatUserConfig = {
'base-goerli': BASESCAN_KEY,
// Linea
'linea-goerli': LINEASCAN_KEY,
// optimism: OPTIMISMSCAN_KEY,
// Optimism
optimism: OPTIMISMSCAN_KEY,
'optimism-sepolia': OPTIMISMSCAN_KEY,
optimisticEthereum: OPTIMISMSCAN_KEY,
// Mantle
mantle: MANTLESCAN_KEY,
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"chai-as-promised": "^7.1.1",
"deep-object-diff": "^1.1.9",
"jest-diff": "^27.4.2",
"solidity-coverage": "^0.8.11",
"undici": "^5.21.2"
},
"devDependencies": {
Expand All @@ -61,7 +62,7 @@
"@ethersproject/experimental": "^5.6.3",
"@nomiclabs/hardhat-ethers": "^2.0.4",
"@nomiclabs/hardhat-etherscan": "3.1.7",
"@safe-global/safe-core-sdk": "^3.3.5",
"@safe-global/safe-core-sdk": "^3.3.2",
"@safe-global/safe-ethers-lib": "^1.9.2",
"@typechain/ethers-v5": "^8.0.2",
"@typechain/hardhat": "^3.0.0",
Expand Down Expand Up @@ -89,11 +90,11 @@
"solhint": "^3.3.6",
"ts-node": "^10.4.0",
"typechain": "^6.0.2",
"typescript": "^5.6.3",
"typescript": "^4.4.4",
"vendoza": "0.0.4"
},
"repository": "[email protected]:compound-finance/comet.git",
"resolutions": {
"mocha": "^9.1.3"
}
}
}
11 changes: 4 additions & 7 deletions plugins/scenario/utils/hreForBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ export function nonForkedHreForBase(base: ForkSpec): HardhatRuntimeEnvironment {
}
},
ctx.tasksDSL.getTaskDefinitions(),
ctx.tasksDSL.getScopesDefinitions(),
ctx.environmentExtenders,
ctx.extendersManager.getExtenders(),
ctx.experimentalHardhatNetworkMessageTraceHooks,
userConfig
);
}
Expand All @@ -76,9 +76,6 @@ export function forkedHreForBase(base: ForkSpec): HardhatRuntimeEnvironment {
if (!baseNetwork) {
throw new Error(`cannot find network config for network: ${base.network}`);
}
console.log('baseNetwork', baseNetwork);
console.log('localhost', localhost);
console.log('defaultNetwork', defaultNetwork);

const forkedNetwork = {
...defaultNetwork,
Expand Down Expand Up @@ -108,8 +105,8 @@ export function forkedHreForBase(base: ForkSpec): HardhatRuntimeEnvironment {
forkedConfig,
hardhatArguments,
ctx.tasksDSL.getTaskDefinitions(),
ctx.tasksDSL.getScopesDefinitions(),
ctx.environmentExtenders,
ctx.extendersManager.getExtenders(),
ctx.experimentalHardhatNetworkMessageTraceHooks,
userConfig
);
}
Expand Down
Loading

0 comments on commit ddfe904

Please sign in to comment.