Skip to content

Conversation

@AztecBot
Copy link
Collaborator

@AztecBot AztecBot commented Oct 21, 2025

BEGIN_COMMIT_OVERRIDE
chore: Set variable can only be used when writing vks (#17820)
chore: DSL testing classes (#17834)
END_COMMIT_OVERRIDE

To prevent misuse of `builder.set_variable()`, the function checks that
the builder was constructed with empty witnesses, which means we are
either in a `write_vk` scenario, and thus we need to set variables to
construct the vk, or in a test with `BB_DISABLE_ASSERTS`
Copy link
Collaborator

@ludamad ludamad left a comment

Choose a reason for hiding this comment

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

🤖 Auto-approved

@AztecBot AztecBot added this pull request to the merge queue Oct 21, 2025
@AztecBot
Copy link
Collaborator Author

🤖 Auto-merge enabled after 4 hours of inactivity. This PR will be merged automatically once all checks pass.

Merged via the queue into next with commit a4c79f3 Oct 21, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants