This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Incorrect processing of updates of the storage collection that stores empty tuples #14651
Open
2 tasks done
Labels
J2-unconfirmed
Issue might be valid, but it’s not yet known.
Is there an existing issue?
Experiencing problems? Have you tried our Stack Exchange first?
Description of bug
Issues:
Steps to reproduce provided below.
Collection "Account" of the pallet "uniques" stores "empty tuple" / "no record".
substrate/frame/uniques/src/lib.rs
Line 180 in cb450b6
Another collection "Asset" of the same pallet stores a struct. And for "Asset" all works fine.
substrate/frame/uniques/src/lib.rs
Line 208 in cb450b6
Seems there are some issues with the Substrate internal logic or API that arise when we request data for the collection that stores empty tuple.
We have the same issue with our own app that communicates with the blockchain node directly.
So it's not a bug in PolkadotJS.
Steps to reproduce
Precondition
Scenario
null
, means the record with given keys exist and account owns the token<none>
- means there is no record with the given keys. But this doesn't happen.null
instead of<none>
The text was updated successfully, but these errors were encountered: