forked from OpenZeppelin/openzeppelin-contracts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate to Hardhat (OpenZeppelin#2397)
- Loading branch information
Showing
75 changed files
with
8,786 additions
and
24,895 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
usePlugin('solidity-coverage'); | ||
usePlugin('@nomiclabs/buidler-truffle5'); | ||
|
||
extendEnvironment(env => { | ||
const { contract } = env; | ||
env.contract = function (name, body) { | ||
// remove the default account from the accounts list used in tests, in order | ||
// to protect tests against accidentally passing due to the contract | ||
// deployer being used subsequently as function caller | ||
contract(name, accounts => body(accounts.slice(1))); | ||
}; | ||
}); | ||
|
||
module.exports = { | ||
networks: { | ||
buidlerevm: { | ||
blockGasLimit: 10000000, | ||
}, | ||
}, | ||
solc: { | ||
version: '0.6.12', | ||
}, | ||
}; |
Oops, something went wrong.