-
Notifications
You must be signed in to change notification settings - Fork 352
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
api.derive.democracy.proposals()
failed to get proposals
#4896
Comments
I think they shield the |
Yes, but to correct, because the proposer here is 0x00000...000. |
In the above screenshot the proposer should be 5C4hrfjw9DjXZTzV3MwzrrAr9P1MJhSrvWGWqi1eSuyUpnhM and 5C4hrfjw9DjXZTzV3MwzrrAr9P1MJhSrvWGWqi1eSuyUpnhM |
You can check in the JS dev console on apps,
The |
@jacogr Maybe we should not shield 0x0...00 here, because the private key of Shielding this address in UI will prevent the governance participants from discovering these malicious proposals earlier. |
But this will also make the 'bug' more public. |
It is already public, and it is from crypto, not something can be hided/fixed in UI. We should have more people know this instead of only being known by malicious, making information asymmetry more severe. |
Related: paritytech/substrate#10413 |
Closing, nothing to be done API-wise. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query. |
const provider = new WsProvider('wss://darwinia-crab.api.onfinality.io/public-ws');
the
proposer
is not empty, butproposer.isEmpty
istrue
, what could be the root causehttps://github.com/polkadot-js/api/blob/master/packages/api-derive/src/democracy/proposals.ts#L31
The text was updated successfully, but these errors were encountered: