-
Notifications
You must be signed in to change notification settings - Fork 9
API bump v0.1.14 #32
API bump v0.1.14 #32
Conversation
niklabh
commented
Jan 30, 2023
•
edited
Loading
edited
- Update polkadot js API
- Removed api-derived stakers function
Please provide PR description. At least put what you did and why. Also some tips for reviewers can be helpful if applicable. |
@@ -17,23 +15,6 @@ export function stakers( | |||
): (contractAddress: ContractAddress) => Observable<AccountId[]> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why you removed this function? If not needed than maybe to remove whole function instead having one which does nothing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In current main branch this function does not return values. If we remove the whole function any external code using it will throw error. So better to have this stub with depreciation warning rather than removing completely.
Sorry, it was false alarm. Type annotation is working. |