Skip to content

Decoding custom events #269

@kylezs

Description

@kylezs

In the example here, the Event is decoded into a Wrapper struct, TransferEvent which is packaged with subxt in balances.rs, not from pallet-balances itself.

In that case, when using custom events, is the pattern you're going for to have a wrapper for each custom pallet, containing a wrapper like what is done for balances in the example? Or am I missing something?

Also noted that there is an open issue here which potentially makes what I've written above irrelevant. Is there any progress on that front?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions