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

Swap arguments for fixture #116

Closed
sz-piotr opened this issue Jul 19, 2019 · 1 comment · Fixed by #215
Closed

Swap arguments for fixture #116

sz-piotr opened this issue Jul 19, 2019 · 1 comment · Fixed by #215
Labels
waffle-3.0.0 Part of the improvements for Waffle 3

Comments

@sz-piotr
Copy link
Contributor

Currently the signature for fixture is async function fixture (provider, wallets). Since the provider argument is very rarely used compared to wallets I propose a breaking change for the next version of waffle that swaps the arguments. The new signature would be:

async function fixture (wallets: Wallet[], provider: providers.Provider)
@sz-piotr sz-piotr added the waffle-3.0.0 Part of the improvements for Waffle 3 label Jul 19, 2019
@sz-piotr
Copy link
Contributor Author

sz-piotr commented Nov 8, 2019

part of #155

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waffle-3.0.0 Part of the improvements for Waffle 3
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant