Skip to content

public-vm(ts): add typed memory to VM simulation (u8, u16, u32, u64, u128(?), field) #3986

@Maddiaa0

Description

@Maddiaa0

Implement tagged memory within the VM simulator

Memory is written to in tagged regions, each arithmetic operation must have values that come from the same memory region. This effectively simulates operations between u8, u16, without needing to perform range checks on each operation.

Values must be range checked when they are written into the memory region.

links

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-avmComponent: AVM related tickets (aka public VM)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions