File tree 1 file changed +1
-6
lines changed
1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -24,16 +24,11 @@ const ui = new PluginUI();
24
24
// Workaround for hardhat-viem-plugin and other provider redefinition conflicts
25
25
extendConfig ( ( config , userConfig ) => {
26
26
if ( Boolean ( process . env . SOLIDITY_COVERAGE ) ) {
27
- const { cloneDeep } = require ( "lodash" ) ;
28
27
const { configureHardhatEVMGas } = require ( './resources/nomiclabs.utils' ) ;
29
28
const API = require ( './../lib/api' ) ;
30
29
const api = new API ( { } ) ;
31
30
32
- let hardhatNetworkForCoverage = { } ;
33
- if ( userConfig . networks && userConfig . networks . hardhat ) {
34
- hardhatNetworkForCoverage = cloneDeep ( userConfig . networks . hardhat ) ;
35
- } ;
36
-
31
+ const hardhatNetworkForCoverage = { } ;
37
32
configureHardhatEVMGas ( hardhatNetworkForCoverage , api ) ;
38
33
config . networks . hardhat = Object . assign ( config . networks . hardhat , hardhatNetworkForCoverage ) ;
39
34
}
You can’t perform that action at this time.
0 commit comments