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
Stdlibs test returning error when rebased to next #553
Comments
Quick question: what is the int value of |
|
This is not a |
Agreed but the following is passing:
And on adding
We should have this error in the first case as well |
Yep, that's definitely a bug. Could we create a small test which triggers this? |
Sure, I'll try to narrow it down to a small test. |
I was trying to rebase my PR #495 , bringing latest work from cargo test -p miden ec_ext5
...
failures:
---- stdlib::math::ec_ext5::test_ec_ext5_gen_multiplication stdout ----
thread 'stdlib::math::ec_ext5::test_ec_ext5_gen_multiplication' panicked at 'called `Result::unwrap()` on an `Err` value: NotBinaryValue(BaseElement(658699090402360355))', miden/tests/integration/helpers/mod.rs:189:36
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
failures:
stdlib::math::ec_ext5::test_ec_ext5_gen_multiplication
How to reproduce this error ?git clone https://github.com/itzmeanjan/miden.git
pushd miden
git remote add upstream https://github.com/maticnetwork/miden.git
git checkout next
git pull upstream next
git checkout ec-ext5-mulgen
git merge next
cargo test -p miden ec_ext5
popd |
@itzmeanjan your issue seems to be unrelated. We made a change to |
Closed by #555 |
Thanks, I didn't know that. |
Also resolves issue reported in 0xPolygonMiden#553 (comment) Signed-off-by: Anjan Roy <hello@itzmeanjan.in>
On rebasing from the latest
next
branch, we see some issues when trying to execute some miden program which seems to be working earlier with no hiccups.@Al-Kindi-0 highlighted this issue when he was running
fri_fold2_ext2
test.Steps to reproduce the error:
cargo test fri_fold2_ext2
, the program will get executed, but the final stack will not match as the expected stack is not what is written in the test yet. But if we uncomment the part and rerun the test, the test fails even before and returns the following error:push.3
drop
, the program was still failing. When we inlined this procedure and used it directly in test program, the test compiled.The following is working:
whereas the following is not:
The text was updated successfully, but these errors were encountered: