Skip to content
Discussion options

You must be logged in to vote

Thanks for the detailed explanation. I think I know what the problem you're experiencing is:

The API calls are trying to query the MessageHolder resource for events. However, the resource does not contain any Event Handles. This is likely because 'Event Handles' is deprecated now, and instead we use 'Module Events'. While EventHandle events still work, developers are encouraged to migrate to Module Events.

The tutorial over here needs to be updated, we will have that done soon.

For now, if you'd still like to proceed, you can do this:

  1. Change the module itself- add an Event Handle to the MessageHolder, and in the set_message function add the required logic.
  2. Compile and Publish.
  3. Query the …

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@kshitijc1506
Comment options

Answer selected by kshitijc1506
@gftea
Comment options

@kshitijc1506
Comment options

@so-schen
Comment options

@kshitijc1506
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
event Questions related to on-chain events
3 participants