use-ink / contracts-ui

Web application for deploying wasm smart contracts on Substrate chains that include the FRAME contracts pallet
https://contracts-ui.substrate.io/
GNU General Public License v3.0
61 stars 44 forks source link

Observe Emitted `Events` #473

Closed peetzweg closed 7 months ago

peetzweg commented 1 year ago

As a developer I want to see which events are emitted by the contract I'm invoking.

It would be nice to see during a dryrun or if not possible during extrinsic execution which events would/have been emitted.

statictype commented 1 year ago

during dry-run it's not possible to show any events. after the transaction succeeds we show both contract and chain events in the transactions log

Screenshot 2023-05-08 at 14 10 03

agree we could improve on this, but not a priority imho.

peetzweg commented 1 year ago

Ah nice, that we already got this. Seems to be missing parameters passed to the event on creation. Maybe we could also show a link to a block explorer for the transaction if available for the chain. 🤔