Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Hot answers tagged

1

The openzeppelin-test-helpers library that you are using can actually retrieve all events from a transaction. expectEvent.inLogs(logs, ...); actually scans logs for each event that was emitted during the transaction and will look for the event name (and values) that you specified. In your case, you simply need to add another expectEvent.inLogs(logs, ...); ...


Only top voted, non community-wiki answers of a minimum length are eligible