apps
apps copied to clipboard
Display errors on the Society page
- I'm submitting a ...
- [X] Bug report
- [ ] Feature request
- [ ] Support request
- [ ] Other
- What is the current behavior and expected behavior?
After the latest runtime upgrade on Kusama introducing Society V2, the Society page on Polkadot-JS Apps is no longer displaying on-chain data about members and throwing an error on the tab for suspended members.
- What is the motivation for changing the behavior?
The interface does not reflect the current state of the Kappa Sigma Mu Society and Society members can no longer interact with the Society pallet.
- Please tell us about your environment:
-
Version: -
-
Environment: MacOs
- [ ] Node.js
- [X] Browser
- [ ] Other (limited support for other environments)
-
Language:
- [ ] JavaScript
- [ ] TypeScript (include tsc --version)
- [X] Other
Current on-chain info:
Hey, @anaelleparity, thank you for opening this issue!
We are having similar problems with the society website and I'm trying to fix it.
Apparently now members()
and suspendedMembers()
functions have been both overloaded with an optional parameter, in addition to the original behavior of returning a list of all members, now we can lookup for a single member information. It also returns a different data structure, including the new variable rank
.
I believe we are also gonna need to update the api package to reflect these changes, most likely this file.
@jacogr should I open an issue there too?
Ok, yeah, the regular query api worked fine for me, but the api-derive is throwing some weird errors.
Just opened an issue on the api repo: https://github.com/polkadot-js/api/issues/5766