OpenZeppelin / openzeppelin-sdk

OpenZeppelin SDK repository for CLI and upgrades.js. No longer actively developed.
MIT License
431 stars 201 forks source link

Report events emitted when calling an initializer functions #1104

Open crazyrabbitLTC opened 5 years ago

crazyrabbitLTC commented 5 years ago

This is in relation specifically when calling a function when creating a contract. There doesn't seem to be an easy way to check that events were emitted as the CLI does not appear to report them. Should this be a feature? It might be convenient to know if events are emitted when calling the initializer.

spalladino commented 5 years ago

Definitely. It should also be straightforward to do, as most of the code to do it is in place for send-tx.