Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Add field names to pallet Event variants #9903

@ascjones

Description

@ascjones

As per #9896, we can convert other pallets to use struct variants with named fields.

e.g. Instantiated(T::AccountId, T::AccountId) becomes Instantiated { deployer: T::AccountId, contract: T::AccountId }.

These field names and their respective comments are in turn reflected in the metadata for a better client experience.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Z1-easyCan be fixed primarily by duplicating and adapting code by an intermediate coder

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions