- Fix
shouldFail.reverting.withMessage
on non-Ganache chains. (#25 - Fix
send.transaction
not working on contracts with a fallback function. (#26 shouldFail.reverting.withMessage
fails if no error string is provided. (#28- Rename
makeInterfaceId
tomakeInterfaceId.ERC165
, and addmakeInterfaceId.ERC1820
. (#21 - Add possibility to configure a custom web3 instance. (#38)
- Rename
shouldFail
toexpectFailure
. (#39)
- Change all occurences of
makeInterfaceId
tomakeInterfaceId.ERC165
. - Some uses of
shouldFail.reverting.withMessage
may fail now. This means it was being used incorrectly and an error string to match against should be added. Alternatively, if the error message is unknown, useshouldFail.reverting
instead.
- Update ERC1820Registry address. (#26)
- Add support for environments using
web3-provider-engine
. (#24)
chai
is no longer exported, andshould
is no longer automatically installed. (#18)
If you use Chai assertions in your project you should make sure to explicitly install it: npm install chai
. If you need to access the chai
instance you should now get it through require('chai')
. If you use should
-style assertions you should set it up manually now, by adding require('chai/register-should')
in your tests, or e.g. in your Truffle config. Check out OpenZeppelin's upgrade commit in case it might be helpful: cf7375d
.