Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Tracked by #3313
Maddiaa0 opened this issue Jan 12, 2024 · 0 comments
Closed
Tracked by #3313
Labels
C-avm Component: AVM related tickets (aka public VM)

Comments

@Maddiaa0
Copy link
Member

Maddiaa0 commented Jan 12, 2024

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

@Maddiaa0 Maddiaa0 added the C-avm Component: AVM related tickets (aka public VM) label Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-avm Component: AVM related tickets (aka public VM)
Projects
Archived in project
Development

No branches or pull requests

2 participants