Skip to content

Design and implement RawVec and RawHashMap #3

Closed
@Robbepop

Description

@Robbepop

Design: RawVec and RawHashMap

This issue tracks design decisions around RawVec and RawHashMap implementations.

Problem

The current storage::Vec and storage::HashMap are very different from their counterparts (dynarray and mapping) in Solidity. They are targeted for a higher level of abstraction and provide more guarantees to the user.

The Solidity types are bare-metal, provide nearly no guarantees to the user and are targeted more towards efficiency and performance. Even though the Solidity types are arguably less secure and should be avoided for those reasons to write smart contracts in general, they might still be of some use for very experienced smart contract writers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ink_storage[ink_storage] Work ItemB-designDesigning a new component, interface or functionality.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions