Closed Latrasis closed 5 years ago
Developing such an API is tricky, since this requires thought and experimentation on our part. One way to start is to do dogfooding – I propose we thus:
StorageMap
Type and StorageVec
TypeStorageMapIter
TypeThere are currently some data/key size limits on the StorageMap
that aren't encoded in the type system or robustly protected, so that still needs to be done.
This can be considered complete with #185.
In order to facilitate a procedure development workflow, we need start with an api that makes it easier to work with storage capabilities:
StorageVec<T>
TypeStorageVecIter<K,T>
TypeStorageMap<K,T>
TypeStorageMapIter<K,T>
TypeStorage
Trait