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

initial anvil support #1541

Merged
merged 4 commits into from
May 28, 2022
Merged

initial anvil support #1541

merged 4 commits into from
May 28, 2022

Conversation

BlinkyStitt
Copy link
Collaborator

@BlinkyStitt BlinkyStitt commented May 25, 2022

What I did

Related issue: #1526

How I did it

Copied the hardhat rpc file and modified it a tiny bit to work with anvil.

How to verify it

$ brownie console --network anvil-fork
>>> chain.time()
1653513634
>>> chain.mine()
14844123
>>> chain.time()
1653513638
>>> chain.sleep(111111111)
>>> chain.mine()
14844124
>>> chain.time()
1764624758
>>> chain.mine(3)
14844127

Checklist

  • I have confirmed that my PR passes all linting checks
  • I have included test cases
  • I have updated the documentation
  • I have added an entry to the changelog

@BlinkyStitt
Copy link
Collaborator Author

I don't think these test failures are related to my changes.

Copy link
Collaborator

@banteg banteg left a comment

Choose a reason for hiding this comment

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

amazing work

Copy link
Member

@iamdefinitelyahuman iamdefinitelyahuman left a comment

Choose a reason for hiding this comment

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

Awesome 🚀

@iamdefinitelyahuman iamdefinitelyahuman merged commit 2453e82 into master May 28, 2022
@iamdefinitelyahuman iamdefinitelyahuman deleted the anvil branch May 28, 2022 01:40
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.

3 participants