2.3.0
Changes:
- Istanbul support
- Add event emitted matcher negation support, e.g.:
await expect(events.emitTwo()).to.not.emit(events, 'One');
- Migrate repository to a monorepo. Packages:
waffle-cli
- direct successor to the previous repository rootwaffle-chai
- home of the chai matcherswaffle-provider
- implementation of theMockProvider
and fixtureswaffle-compiler
- compilation of Solidity smart contracts
- Add
MockProvider
class- it extends
providers.Web3Provider
- you create it using
new MockProvider(options?)
instead ofcreateMockProvider(options?)
- use
provider.getWallets()
instead ofgetWallets(provider)
. This allows for a shorthand:new MockProvider().getWallets()
- use
provider.createEmptyWallet()
to get a random Wallet without any ETH
- it extends
- Deprecate
createMockProvider
- Deprecate
getGanacheOptions
- Deprecate
getWallets