Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Move everything over to hardhat #208

Merged
merged 3 commits into from Feb 2, 2021
Merged

Conversation

smartcontracts
Copy link
Collaborator

Description

This PR does the following things:

  • Moves everything over to hardhat, gets rid of any dependencies on buidler.
  • Standardizes the compiler version for all files.
  • Replaces the outdated // +build ovm syntax with the newer // @unsupported: ovm syntax.
  • Fixes a few minor compiler errors that get thrown when accepting 0.5.0 as a compiler version.

Notes

  • A few tests have been skipped because of an apparent bug in smock. I think the value of getting everything updated to hardhat probably outweighs the value of waiting to squash these bugs.

Contributing Agreement

@smartcontracts
Copy link
Collaborator Author

PR contains no changes to contract functionality.

Copy link
Collaborator

@maurelian maurelian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM.
I confirmed that the only changes to solidity files are minor, and won't introduce meaningful logic changes.
I also see that where a test is skipped, there is a note, which will be useful for future reference: // TODO: Appears to be failing because of a bug in smock.
Also, I ran the build and test processes to confirm that they worked.
Tests had: 943 passing, 39 pending
(For reference master which has 950 passing, 32 pending)

I agree that since we know these tests should work except for a bug in smock its fine to move forward with this.

@smartcontracts smartcontracts merged commit bb91c16 into master Feb 2, 2021
@smartcontracts smartcontracts deleted the feat/hardhat-upgrade branch February 2, 2021 05:19
maurelian pushed a commit that referenced this pull request Feb 2, 2021
* Got hardhat to work

* Fix build structure

* Fix build process, hopefully
maurelian pushed a commit that referenced this pull request Feb 2, 2021
build: fix

multirelay: permissions

contract: style fix

lint: fix

Move everything over to hardhat (#208)

* Got hardhat to work

* Fix build structure

* Fix build process, hopefully

Rename new contract and style improvements

save

save

fix interface type cast

undo bad fix and check-in pretty good tests (still buggy)
@maurelian maurelian mentioned this pull request Feb 2, 2021
1 task
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants