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

Unit test for StoreWordRight #2319

Closed
wants to merge 5 commits into from
Closed

Unit test for StoreWordRight #2319

wants to merge 5 commits into from

Conversation

querolita
Copy link
Member

Fixes the interpreter to behave like Cannon.

Base automatically changed from zkvm/mips/fixme-register-access-underflow to master June 13, 2024 14:27
Copy link
Member

@dannywillems dannywillems left a comment

Choose a reason for hiding this comment

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

Getting:

[2024-06-13T14:58:07Z INFO  o1vm::mips::witness] processing step=0 pc=00000ae88c insn=000802ba1f ips=0.00 pages=8598 mem=33.6 MiB name=_rt0_mips_linux
[2024-06-13T14:58:10Z INFO  o1vm::mips::witness] Snapshot state in snapshot-state-0.json, step 0
Exited with code 2 at step 92311030
Halted at step=4858476 instruction=RType(SyscallExitGroup)
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: ConstraintNotSatisfied("Unsatisfied expression: ((((Curr(x[16]) - 0x0100000000000000000000000000000000000000000000000000000000000000) * Curr(x[25])) + Curr(x[24])) - 0x0100000000000000000000000000000000000000000000000000000000000000)")', o1vm/src/main.rs:235:46
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

on input

export L1_HEAD=0x05331e9873c201c108c1321d2488b298e8c1debe0429a054f7b0227e57821701
export L2_HEAD=0x81a28a79d8d687b048962799e98f2c5bc907b8bcd54c2ad948be9ca3fc4328f3
export L2_BLOCK_NUMBER=11729810
export STARTING_OUTPUT_ROOT=0x6487e31240348b7e3b7ea873e7acedfd406fd0538039cd9c75e3c2a5f42d49d1
export L2_CLAIM=0x358f7d8ace011fb2d773f2e85a55fffd4c37a55e733475990f1c896fbe7c93c7

@querolita querolita marked this pull request as draft June 13, 2024 18:13
@querolita
Copy link
Member Author

Demo halts, making the PR a draft until solved

@querolita
Copy link
Member Author

Closing due to #2729

@querolita querolita closed this Oct 24, 2024
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.

2 participants