Skip to content

Commit e54c27b

Browse files
Updates optimism dependencies (Synthetixio#1308)
* Updated optimism deps * Update usage of dep in code * Add hardhat-ethers dep required by smock * Add await in unit test
1 parent dff0c2e commit e54c27b

File tree

5 files changed

+18398
-37370
lines changed

5 files changed

+18398
-37370
lines changed

hardhat.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ const path = require('path');
55

66
require('./hardhat');
77
require('@nomiclabs/hardhat-truffle5');
8+
require('@nomiclabs/hardhat-ethers');
89
require('solidity-coverage');
910
require('hardhat-gas-reporter');
1011

hardhat/tasks/task-compile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ task('compile')
2525
if (taskArguments.useOvm) {
2626
console.log(gray('Compiling with OVM Solidity compiler...'));
2727

28-
require('@eth-optimism/plugins/hardhat/compiler');
28+
require('@eth-optimism/hardhat-ovm');
2929
hre.config.ignoreNonOvmContracts = true;
3030
}
3131

0 commit comments

Comments
 (0)