Skip to content

fix[hardhat-ovm]: use correct url when creating ethers object#938

Merged
gakonst merged 3 commits intodevelopfrom
kelvin/fix-ethers-url
May 23, 2021
Merged

fix[hardhat-ovm]: use correct url when creating ethers object#938
gakonst merged 3 commits intodevelopfrom
kelvin/fix-ethers-url

Conversation

@smartcontracts
Copy link
Copy Markdown
Contributor

Description
For some reason we were using the completely incorrect URL when modifying the hardhat-ethers object. I don't know if this was an error on our part or some sort of dependency that broke, so using || to remain backwards compatible if it indeed was an updated dependency. Also moves the step where we update the provider to the very end of the modification code so we can avoid weird issues when overriding getSigners.

Metadata

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented May 23, 2021

🦋 Changeset detected

Latest commit: 67e74f3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@eth-optimism/hardhat-ovm Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 23, 2021

Codecov Report

Merging #938 (6facbf2) into develop (68871b7) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #938   +/-   ##
========================================
  Coverage    82.21%   82.21%           
========================================
  Files           48       48           
  Lines         1895     1895           
  Branches       303      303           
========================================
  Hits          1558     1558           
  Misses         337      337           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 68871b7...6facbf2. Read the comment docs.

@gakonst gakonst merged commit ef2fba1 into develop May 23, 2021
@gakonst gakonst deleted the kelvin/fix-ethers-url branch May 23, 2021 09:50
InoMurko pushed a commit to omgnetwork/optimism that referenced this pull request May 25, 2021
…um-optimism#938)

* fix[hardhat-ovm]: use correct url when creating ethers object

* chore: add changeset

* chore: rename changeset

Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
theochap pushed a commit that referenced this pull request Dec 10, 2025
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.

Hardhat ethers does not correctly instantiate a provider with the OVM

3 participants