Inscrutable durableMapStore.get(deviceNode)
exception for a missing key
#7105
Labels
bug
Something isn't working
liveslots
requires vat-upgrade to deploy changes
vaults_triage
DO NOT USE
Describe the bug
@FUDCo writes:
To Reproduce
Steps to reproduce the behavior:
0. do this in a new SwingSet vat
durableMapStore
(calleddms
in this recipe)dms.get(device)
wheredevice
is a device not otherwise used by the vatExpected behavior
dms.get(device)
should throw with something like:Platform Environment
Additional context
I suspect the existing tests use the MapStore "properly" so they didn't see this exception.
If I do the proper MapStore membership check first, then the error is avoided:
The text was updated successfully, but these errors were encountered: