OpenZeppelin / openzeppelin-test-helpers

Assertion library for Ethereum smart contract testing
https://docs.openzeppelin.com/test-helpers
MIT License
416 stars 132 forks source link

fix event signature calculation routine for tuples (structs) in decodeLogs #197

Closed vgorin closed 6 months ago

vgorin commented 10 months ago

Problem: decodeLogs cannot find events containing structures Solution: fix event signature calculation routine so that event topic[0] matches the calculated sha3(signature)