Skip to content
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

Merged
merged 19 commits into from
Oct 28, 2020
Merged

Migrate to Hardhat #2397

merged 19 commits into from
Oct 28, 2020

Conversation

frangio
Copy link
Contributor

@frangio frangio commented Oct 28, 2020

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.)

nventuro
nventuro previously approved these changes Oct 28, 2020
Copy link
Contributor

@nventuro nventuro left a 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)));
Copy link
Contributor

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

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?

Copy link
Contributor

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.

Copy link
Contributor Author

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.

@frangio frangio merged commit f067388 into OpenZeppelin:master Oct 28, 2020
@frangio frangio deleted the migrate-to-buidler branch October 28, 2020 20:03
frangio added a commit that referenced this pull request Nov 11, 2020
frangio added a commit that referenced this pull request Nov 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants