TrueFi Engineering
Published in

TrueFi Engineering

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

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.

--

--

--

Team working on TrueFi talks about OSS (useDApp and Waffle), good software engineering practices and more!

Recommended from Medium

How is marketing digital assets different from regular marketing?

Linear Council Candidates Ready!

What is Hashing in Blockchain? Explained.

Introducing Penguin- The Decentralized Storage Platform

Partnership with TONCommunity.org Project

Encode Polkadot Club: Introduction to Substrate [Video + Slides]

Potential Problems in Blockchain

What Does Lition’s Blockchain Architecture Look Like?

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
Marek Kirejczyk

Marek Kirejczyk

Ethereum blockchain Engineer. Ethworks, Universal Login.

More from Medium

Introducing TrueFi Engineering

Uniswap Smart Contract Breakdown

IERC721Receiver interface: migrating Solidity (Ethereum) contracts to TAKAMAKA.

How to use Dapptools | Code like MakerDAO

How to use dapptools