4

Has anybody been successful in executing and viewing events (in Mist) generated from solidity libraries?

My contract can log and display events in the contract but events in the associated libraries are not being displayed correctly in Mist.

I am not sure if this is a solidity issue, node client issue (using Geth) or a Mist issue.

Screenshot attached of library event in Mist.

Added issue to Github - https://github.com/ethereum/mist/issues/1083

enter image description here

1
  • Hello from 5 1/2 years in the future. It's definitely not just a Mist thing because I can see events not displaying properly on the online blockchain scanners.
    – Josh Davis
    Mar 3, 2022 at 17:21

1 Answer 1

3

Found a workaround for this bug. All library events have to be duplicated in the calling contract for the events to log correctly.

1
  • 1
    So you just copy and paste the definition of the event that you want in the library inside the contract and it works ? Jan 19, 2017 at 9:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.