Array.Get()
should return Value
instead of Storable
#315
Labels
8000
Array.Get()
should return Value
instead of Storable
#315
Issue To Be Solved
Currently,
Array.Get()
returnsStorable
and client converts returnedStorable
toValue
. However, it only makes sense to returnStorable
if client needs to remove register (slab) byStorageID
(StorageIDStorable).Get()
should only provideValue
without possibility of client manipulating the underlyingStorable
.Suggested Solution
Change
Array.Get()
to returnValue
instead ofStorable
.This is prep work for Atree Register Inlining (#292) and will also harden the API.
The text was updated successfully, but these errors were encountered: