trufflesuite / truffle-core

Core code for Truffle command line tool
MIT License
93 stars 93 forks source link

Extract event values correctly #146

Closed cgewecke closed 6 years ago

cgewecke commented 6 years ago

Iterates across Web3 1.0 event object correctly, so events with indexed and non-indexed elements print correctly on test failure. Example from EthPM:

// Currently
SetCanCall(codeAddress: <indexed>, sig: <indexed>, can: 0xD1243cffdf4da84fc0e91B056dBe7BaCed0b43B2)

// Fixed
SetCanCall(codeAddress: <indexed>, sig: <indexed>, can: true)