Skip to content

External storage accesses #565

@mohammadfawaz

Description

@mohammadfawaz

External storage accesses will work in the upcoming Leo version. For example, if program child.aleo contains a storage variable x: u32, then another program parent.aleo is able to read from x using the syntax child.aleo/a. Same goes for vectors. Note that writing to an external storage variable of any type is not allowed. So the access is read-only (which is already the case for mappings.... I'm not sure if external mapping reads are documented but if they're not, they should too).

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