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

Make the Waffle plugin's BRE extension lazy #453

Merged
merged 1 commit into from
Feb 23, 2020
Merged

Conversation

alcuadrado
Copy link
Member

This PR fixes a problem with the Waffle plugin.

Waffle's provider was being created in the BRE extender function, which makes a net_version request. This was triggering Buidler EVM's intialization before the compilation process finished.

This PR makes the extension a lazyObject.

@alcuadrado alcuadrado merged commit cbc49d0 into master Feb 23, 2020
@alcuadrado alcuadrado deleted the waffle-lazy-provider branch February 23, 2020 13:53
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant