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

MemoryRange rework #478

Merged
merged 2 commits into from
Jun 8, 2023
Merged

MemoryRange rework #478

merged 2 commits into from
Jun 8, 2023

Conversation

Dentosal
Copy link
Member

@Dentosal Dentosal commented Jun 6, 2023

Removed CheckedMemRange and uses MemoryRange instead. MemoryRange is now always checked, validates and type-converts it's arguments safely.

This is a minimal set of changes required for merging the types. The improvements around memory handling will be used for follow-up PRs which will clean up the memory handling code even more.

Works towards #474. Partially extracted from #461.

@Dentosal Dentosal added tech-debt fuel-vm Related to the `fuel-vm` crate. labels Jun 6, 2023
@Dentosal Dentosal requested a review from a team June 6, 2023 09:55
@Dentosal Dentosal self-assigned this Jun 6, 2023
Copy link
Contributor

@leviathanbeak leviathanbeak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good on my side - leaving it open for more 👀

@Dentosal Dentosal requested a review from a team June 8, 2023 10:04
@Dentosal Dentosal enabled auto-merge June 8, 2023 13:28
@Dentosal Dentosal added this pull request to the merge queue Jun 8, 2023
Merged via the queue into master with commit a5d325a Jun 8, 2023
@Dentosal Dentosal deleted the dento/mem-ranges branch June 8, 2023 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fuel-vm Related to the `fuel-vm` crate. tech-debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants