-
Notifications
You must be signed in to change notification settings - Fork 115
Pioneer, types, CLI: Changes following membership module refactorization #1071
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pioneer, types, CLI: Changes following membership module refactorization #1071
Conversation
|
Bumped the version of |
|
I guess the check Tested working as expected |
|
The npm pack test for the cli still seems to be failing: |
I was trying to make all the CI chceks work, but this one now fails because the types are not yet published (I bumped the version for |
I think that would be good, but it would be good to find a way to test it before publishing. Is this something lerna can do, or perhaps a similar command in yarn, like yarn pack which would be able to use types from the workspace? |
|
I tried locally |
|
The CI check fails after I had the same issue locally when using the default configuration (without |
|
It seems to work on the mac but fails on ubuntu. Maybe we skip the |
|
Adjusted the CI checks without |
|
Does the failing of network tests checks have anything to do with merging of #1091 Specifically this: 87c14f6 cc: @gleb-urvanov |
|
I think it has to do with the version of I'll try to resolve. |
Related issue:
#1002
Currently
membershipByIdmap seems to just return an emptyMembershipinstance in case member doesn't exist.Since this instance contains
Boolfield (Membership.suspended), we can't check if it's empty viaMembership.isEmpty, because it will always returnfalse. The current workaround to check for "emptiness" of theMembershipstruct is to use ie.Membership.handle.isEmpty. Perhaps there will be better ways to handle such cases in the latest version of@polkadot/api.