Closed ntduan closed 4 years ago
Yes, good catch, that is unprotected. Your change will work.
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.
I think the reason is that storage update did not handle the error.
https://github.com/polkadot-js/api/blob/master/packages/rpc-core/src/index.ts#L250-L257 The error thrown by the formatOutput was not handled properly.
If I change it to this it will work: