-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate to Hardhat #2397
Migrate to Hardhat #2397
Conversation
This reverts commit 2168add.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚧 👷♀️ 👷♀️ 🚧
// 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))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I love this. @alcuadrado make this the default behavior pretty please
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure I understand this. Is it like the contract
thing in truffle?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This, this is a truffle plugin. I was referring to the feature of hiding the default account however.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's kind of opinionated, and I suppose the goal of the Truffle plugins is to have as much compatibility as possible.
We recently announced we will be focusing our upgradeability efforts around Contracts and the Upgrades plugins, and halting development of the OpenZeppelin CLI.
Thus, this PR migrates this project to use Hardhat, until recently known as Buidler. (We will actually be using Buidler until solidity-coverage upgrades, see sc-forks/solidity-coverage#541.)