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

Zero-segment Workaround #46

Draft
wants to merge 1 commit into
base: notlesh/segment-arena-relocation-fix
Choose a base branch
from

Conversation

notlesh
Copy link

@notlesh notlesh commented Sep 24, 2024

TITLE

Remove call to add_zero_zegment() in Mod builtin

Description

This PR works around an issue related to run_validity_checks() where the mul_mod builtin has an additional memory segment which causes the index verification to fail here.

This isn't meant to be a viable fix. I suspect that a proper fix would be to account for the additional segments in the index checks in run_validatity_checks() or similar.

However, the zero_segment functionality (introduced here) is unclear to me, so this is meant as a temporary workaround to help us progress in SNOS.

If anyone is able to explain the zero_segment functionality and how it relates to run_validity_checks(), I'll be happy to work on a better fix.

Checklist

  • Linked to Github Issue
  • Unit tests added
  • Integration tests added.
  • This change requires new documentation.
    • Documentation has been added/updated.
    • CHANGELOG has been updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant