The current singleton implementations are broken as they rely on a user-provided owner value for the initial nullifier to signify that the value have been initialized, but as this value is never needed later on so you can insert two notes on the same storage slot (totally ignoring it being a singleton or immutable).
To insert more, simply pass a different owner to the singleton than to the note. Nullifiers then differ but the storage slots are the same. So it is not possible to use the PXE to feed whichever note matches the circumstances best instead of the single value that was intended.
The current singleton implementations are broken as they rely on a user-provided
ownervalue for the initial nullifier to signify that the value have been initialized, but as this value is never needed later on so you can insert two notes on the same storage slot (totally ignoring it being a singleton or immutable).To insert more, simply pass a different
ownerto the singleton than to the note. Nullifiers then differ but the storage slots are the same. So it is not possible to use the PXE to feed whichever note matches the circumstances best instead of the single value that was intended.