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

fix: witness generation and PIL formatting for empty_vm #74

Open
wants to merge 1 commit into
base: avm
Choose a base branch
from

Conversation

0xObsidian
Copy link

The empty_vm test was failing due to two issues:

  1. Incorrect witness generation for operation_id
  2. Formatting issues in the PIL output causing assertion failures

Description

  • Modified witness generation to use constant value 2 for main._operation_id
  • Fixed PIL formatting in linker to match expected output format
  • Proper formating in polynomial declarations
  • Aligned witness generation with the expected values for registers
  • Introduced build automation

Testing the fix

fetch this PR branch and from the root directory run

make setup

and then

cargo test test::compile_empty_vm

To see all available repo commands during development, run

make help

The empty_vm test was failing due to two issues:
1. Incorrect witness generation for operation_id
2. Formatting issues in the PIL output causing assertion failures

Description
-----------
- Modified witness generation to use constant value 2 for main._operation_id
- Fixed PIL formatting in linker to match expected output format
- Proper formating in polynomial declarations
- Aligned witness generation with the expected values for registers
- Introduced build automation

testing the fix
--------------
fetch this PR branch and from the root directory run
```
make setup
```
and then
```
cargo test test::compile_empty_vm
```
to see all available repo commands during development, run
```
make help
```
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