apps
apps copied to clipboard
Null parameter display as 0 on Event
On polkadot.js when we display at events a null parameter (that is optional). It shows as 0. Because of that, it is impossible for the person to know if the parameter was indeed 0 or null.
Seems like an issue with the Option<number>
Component. Do you have a a link to the chain and blockhash for me as a testcase to check on?
Here is the chain and one block that I've just made the transaction: https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frpc.rococo.efinity.io#/explorer/query/0x1bcea28f9c54322cf578de7dac28c7084463d14b8f03da47806e148507ef2b2d
But that's not an archive node. The info about the block will disappear real quickly. But it should be able to reproduce in any chains, I believe.
This issue has been open for 21 days with no activity and is not labelled as an enhancement. It will be closed in 7 days.
Closing this one for now.
If an issue and actual reproduction would be appreciated alongside logging it. (The above chain doesn't currently exist, so difficult to verify - however since we have reworked Option
display in react-params
quite some time back, the underlying issue is now either gone or if something was missed, manifests differently)
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.