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

Marek Kirejczyk
TrueFi Engineering
Published in
2 min readJun 13, 2020

--

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.

--

--