Open
Description
GetCallMetadata
can currently be used to get the call- and module-name of a RuntimeCall
.
In cases where we want to select specific calls/modules, it is better to use their index than strings.
GetCallMetadata
could therefore be extended to also return these indices. Looking internally, we use a GetCallName
trait which is re-used in the GetCallMetadata
trait. So probably analogous to that add a GetCallIndex
and then re-use that as well.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Backlog