🧇 Waffle 3.0 released! With ethers.js 5.0 and more!

Marek Kirejczyk
Jun 13, 2020 · 2 min read

We‘re glad to announce that we’ve just released Waffle 3.0 with support for ethers.js 5.0 and much more.

We‘re especially happy that we have managed to release it on the same day 📅 as the long awaited ethers version 5!

Advancements 🚀

In recent weeks, we’ve put a lot of effort pushing Waffle forward to make it the most advanced and the best smart contracts testing framework.

We’ve added a lot of new functionalities, most of which were available in Waffle 2.5 as experimental:

Moreover, we’ve:

Waffle 3.0 and breaking changes 💔

And, as a final effort in this batch of work, we‘re releasing Waffle 3.0.

Releasing a new major version is a great occasion to make breaking changes and improve on some early design decisions that we made. Some of them made API inconsistent, others make it hard to extend.

Below is a list of the key breaking changes:

  • Remove createMockProvider() in favour of new MockProvider()
  • Remove getWallets() in favour of provider.getWallets()
  • Remove experimental warnings from features introduced in 2.5
  • Fixtures have swapped arguments order,
    before: fixtureFunction(provider, wallets),
    after: fixtureFunction(wallets, provider)
  • Full migration guide is available here.

Acknowledgements 🙏

I would like give thanks to all the great people who have been involved in developing recent advancements:

And most importantly, we would like to say thank you to all of our users!

Over 250 projects are using Waffle! 🎉🎉🎉

Thank you!

We are Ethworks. A truly remarkable team for your blockchain project.

Find us on Twitter, Dribbble and GitHub.

Ethworks

On the blockchain, software engineering and running a company.

Sign up for 💡 Waffle News 💡

By Ethworks

Best practices in testing smart contracts with Waffle: our sweeter and simpler library built for Ethereum developers Take a look.

By signing up, you will create a Medium account if you don’t already have one. Review our Privacy Policy for more information about our privacy practices.

Check your inbox
Medium sent you an email at to complete your subscription.

Ethworks

Software is eating the world. Blockchain is eating money. Ethworks is cooking.

Marek Kirejczyk

Written by

Ethereum blockchain Engineer. Ethworks, Universal Login.

Ethworks

Software is eating the world. Blockchain is eating money. Ethworks is cooking.

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store