Closed hickscorp closed 2 years ago
Please take a look again at https://ethereum-waffle.readthedocs.io/en/latest/matchers.html#emitting-events (It was just added so you might not have seen it before).
Feel free to open with more details if this does not work for you.
Note that this report is similar to the one at https://github.com/projectsophon/hardhat-diamond-abi/issues/16.
When developing smart contracts using the Diamond pattern, very often several facets of the same Diamond need to emit the same event. Usually, events are declared in a library - such as
MyDiamondEvents
. Then in any facets, you can `emit MyDiamondsEvents.SomeEvent(...)'.Waffle doesn't allow to check that an such event was emitted - because the types and ABI of the facet won't contain any information about the event typings.