Skip to content

Implementation of system constraints#494

Closed
Al-Kindi-0 wants to merge 1 commit intoal-stack-constraintsfrom
al-system-constraints
Closed

Implementation of system constraints#494
Al-Kindi-0 wants to merge 1 commit intoal-stack-constraintsfrom
al-system-constraints

Conversation

@Al-Kindi-0
Copy link
Copy Markdown
Collaborator

Describe your changes

Would also benefit from the computed indices PR getting merged

Checklist before requesting a review

  • Repo forked and branch created from next according to naming convention.
  • Commit messages and codestyle follow conventions.
  • Commits are signed.
  • Relevant issues are linked in the PR description.
  • Tests added for new functionality.
  • Documentation/comments updated according to changes.
  • Updated CHANGELOG.md

Copy link
Copy Markdown

@plafer plafer 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!

The biggest change required as I see it is to remove the fmp and in_syscall columns and their associated constraints.

Comment thread constraints/system.air Outdated
Comment thread constraints/system.air Outdated
Comment thread constraints/system.air Outdated
Comment thread constraints/system.air Outdated
Comment thread constraints/system.air Outdated
Comment thread constraints/system.air Outdated
Comment thread constraints/system.air Outdated
Comment thread constraints/system.air Outdated
Comment thread constraints/stack.air Outdated
Comment thread constraints/stack.air Outdated
Copy link
Copy Markdown

@plafer plafer left a comment

Choose a reason for hiding this comment

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

LGTM!

@Al-Kindi-0 Al-Kindi-0 force-pushed the al-system-constraints branch from 3b16dbc to 7f866b1 Compare December 23, 2025 17:13
@Al-Kindi-0 Al-Kindi-0 added the no changelog This PR does not require an entry in the `CHANGELOG.md` file label Dec 23, 2025
@Al-Kindi-0 Al-Kindi-0 marked this pull request as ready for review December 24, 2025 13:53
Comment thread constraints/system.air
#
# Only three types of operations modify fn_hash:
# 1. CALL/DYNCALL: Load new hash (enter new procedure context)
# 2. SYSCALL: Preserve hash (enables kernel to authenticate caller)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

nit: This does not seem to modify fn_hash contrary to what line 194 infers.

Copy link
Copy Markdown
Collaborator

@Leo-Besancon Leo-Besancon left a comment

Choose a reason for hiding this comment

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

Left a nitpick, otherwise LGTM!

@Al-Kindi-0 Al-Kindi-0 closed this Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

MidenVM constraints no changelog This PR does not require an entry in the `CHANGELOG.md` file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants