Skip to content

Consider adding gas‑efficient, in‑memory, fixed‑capacity stack (first in, last out) #5781

Open
@waelsy123

Description

@waelsy123

🧐 Motivation

There is a lack of trusted in-memory basic data structure, most (if not all) DS libraries here is targeting storage. However, smart contracts are getting smarter with access to off-chain data ( thanks to AI agents & ZK proofs). And since in-memory is the way cheaper than other types of storage, there is a need to have such a basic yet powerful tools in hands.

📝 Details

a request to add FixedSizeMemoryStack to be the ignite for other in-memory data-structures.

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