-
Notifications
You must be signed in to change notification settings - Fork 226
Investigate invalid syscall selector error #3072
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
Comments
Bump. I've managed to reproduce this exact same issue here https://github.com/fatlabsxyz/invalid_syscall_0xfd2.git . The new insight is that it might be related to arithmetic circuits. |
Great! Thank you! |
@bezze version 0.44.0 with the fix is out now |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Which component is your bug related to?
snforge
Foundry Version
0.38.3
What operating system are you using?
Linux
What system architecture are you using?
x86
What happened
(This issue was reported by one of out users on telegram, ref link: https://t.me/starknet_foundry_support/5652)
the last uncommented line (let expected peak = ... ) is the one that makes the second test fail due to "Invalid syscall selector" error, but that same very similar line (almost the same) in the first test is working fine
test fails when poseidon_hash_bn254 function is called and the endpoint append_leaf_aocl of the contract in the same test.
Worth noting that append_leaf_aocl does uses the same poseidon_hash_bn254 internally (within the contract), but interacting with the contract and this endpoint alone causes no issues.
Code is here https://github.com/keep-starknet-strange/garaga/tree/msets/src/contracts/mutator_set (all test passes in this code)
Function: https://github.com/keep-starknet-strange/garaga/blob/main/src/src/hashes/poseidon_bn254.cairo#L16
(cairo 2.9.2 was used here)
Trace
No response
Is there an existing issue for this?
The text was updated successfully, but these errors were encountered: