Add method name & prefix to StorageFunction (#182)
* Add methods & prefix to StorageFunction * Match method/section to exposed names * Export method/section on extrinsic & jsonrpc * PR comment prefix -> section
This commit is contained in:
@@ -18,8 +18,8 @@ const SUBSCRIPTIONS: string[] = Array.prototype.concat.apply(
|
||||
.filter((method) =>
|
||||
method.isSubscription
|
||||
)
|
||||
.map(({ name, section }) =>
|
||||
`${section}_${name}`
|
||||
.map(({ method, section }) =>
|
||||
`${section}_${method}`
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user