This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Add field names to pallet Event
variants
#9903
Labels
Z1-easy
Can be fixed primarily by duplicating and adapting code by an intermediate coder
As per #9896, we can convert other pallets to use struct variants with named fields.
e.g.
Instantiated(T::AccountId, T::AccountId)
becomesInstantiated { 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.
The text was updated successfully, but these errors were encountered: