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

test: hardhat compatibility #268

Merged
merged 2 commits into from
Apr 19, 2021
Merged

Conversation

banteg
Copy link
Member

@banteg banteg commented Apr 7, 2021

We had a fix for mismatching chain.id and chainid() (1337 vs 1) in ganache, but hardhat doesn't have this problem (both are 31337). This change only applies the fix for ganache. This only affects permit tests.

@banteg banteg force-pushed the fix/hardhat-chain-id branch from 54db2cc to ed027fa Compare April 7, 2021 04:25
@banteg
Copy link
Member Author

banteg commented Apr 8, 2021

Don't merge yet, there are a few more fixes coming.

@fubuloubu
Copy link
Member

I don't know why I approved this twice lol

@banteg
Copy link
Member Author

banteg commented Apr 19, 2021

All tests pass with [email protected] and eth-brownie/brownie#1043.

617 passed in 1824.73s (0:30:24)

@fubuloubu
Copy link
Member

Approved a third time for the charm

@banteg banteg merged commit 67cf46f into yearn:master Apr 19, 2021
orbxball pushed a commit to orbxball/yearn-vaults that referenced this pull request Aug 8, 2021
* test: hardhat compatibility

* test: fix for hardhat timestamp drift
sambacha pushed a commit to sambacha/yearn-vaults that referenced this pull request Sep 7, 2021
* test: hardhat compatibility

* test: fix for hardhat timestamp drift
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.

2 participants