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

Allow configuring default sender account in Buidler plugin #552

Closed
frangio opened this issue Oct 28, 2020 · 1 comment
Closed

Allow configuring default sender account in Buidler plugin #552

frangio opened this issue Oct 28, 2020 · 1 comment

Comments

@frangio
Copy link
Contributor

frangio commented Oct 28, 2020

The default sender account is hardcoded to accounts[0]. I'd like to be able to configure it to something else.

network.from = accounts[0];

@cgewecke
Copy link
Member

@frangio

This should be fixed in the Hardhat plugin now. Whatever you specify as from in your Hardhat (or other) network config should persist when coverage runs the tests as well.

0.7.12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants