Skip to content

Create common trait for Storage-related get/set Operations #290

@0xNeshi

Description

@0xNeshi

Example:

Almost every type implementing StorageType (e.g. StorageAddress, StorageU256 etc.) has the same get and set functions. It would make sense to have a common trait defining these operations.

This would allow implementing generic logic on storage or even default trait function implementations to get/set state.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions