hyperlane-xyz / fuel-contracts

5 stars 2 forks source link

React to relevant changes in storage capabilities #66

Closed tkporter closed 6 months ago

tkporter commented 1 year ago

This is intentionally not specific and not really actionable, but there are some changes to how storage will work in Sway that may have an impact on the approaches we took in the contracts. E.g. a StorageMap<K, StorageVec<V>> may be possible, in which case we should move away from StorageMapVec. Or in the merkle library, where we make storage accesses sort of "manually" by reading and writing to specific storage slots, we may be able to compose with higher lvl storage libraries

Relevant issue to keep an eye on: https://github.com/FuelLabs/sway/pull/4297

tkporter commented 1 year ago

Included in this should be to reconsider StorableString in ValidatorAnnounce