[Bug] Cannot get event using event handle if nested within resource #8981
Labels
bug
Something isn't working
stale-exempt
Prevents issues from being automatically marked and closed as stale
Summary
If you have an event handle and it isn't a top level field in a
key
struct in your Move module (aka a resource in storage) then you cannot read those events with this endpoint: https://fullnode.devnet.aptoslabs.com/v1/spec#/operations/get_events_by_event_handle.Imagine you have this:
Neither of these work:
Repro
Publish this Move module:
Run the testing function:
See that you can't read events:
The text was updated successfully, but these errors were encountered: