fix(ct): use default hardhat accounts#2426
Conversation
Uses the default configuration for the hardhat network, including the accounts. We no longer need to use custom accounts (to be honest, I don't remember why we ever needed that in the first place). Making this change also fixes the problem where deployment to the hardhat network would fail because the hardhat accounts did not have a balance. Fixes #2419
|
|
I like the approach in #2422 because that would allow us to use |
Honestly I think we should make a small project out of overhauling this step anyway. I don't think it belongs as part of the deployment. It's specifically meant for local development and could likely be handled as an extra task. The reason #2422 didn't work is because we supply a specific private key when running |
|
It could be moved to a hardhat task pretty easily and we could add that as part of the deployer entrypoint |
|
Exactly, yeah. This is more of a temp fix to close #2419 and then we can make a second PR to turn into a hardhat task. |
|
This PR has been added to the merge queue, and will be merged soon. |
|
This PR is next in line to be merged, and will be merged as soon as checks pass. |
Uses the default configuration for the hardhat network, including the accounts. We no longer need to use custom accounts (to be honest, I don't remember why we ever needed that in the first place). Making this change also fixes the problem where deployment to the hardhat network would fail because the hardhat accounts did not have a balance. Fixes ethereum-optimism#2419 Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fixes #2418 --------- Co-authored-by: Emilia Hane <elsaemiliaevahane@gmail.com> Co-authored-by: Arun Dhyani <dhyaniarun7@gmail.com>
Description
Uses the default configuration for the hardhat network, including the
accounts. We no longer need to use custom accounts (to be honest, I
don't remember why we ever needed that in the first place). Making this
change also fixes the problem where deployment to the hardhat network
would fail because the hardhat accounts did not have a balance.
Fixes #2419