We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given this Cairo program:
use starknet::{secp256k1::{Secp256k1Point}, secp256_trait::{Secp256Trait, Secp256PointTrait}}; use core::starknet::SyscallResultTrait; fn main() { let P = match Secp256Trait::< Secp256k1Point, >::secp256_ec_get_point_from_x_syscall(0xc44f2be1b2fb5371330386046e60207bbd84938d4812ee0c7a3c11be605a7585, false) .unwrap_syscall() { Option::Some(P) => P, Option::None => { return; } }; println!("{:?}", P.get_coordinates().unwrap_syscall()); }
Run in cairo1-run/:
cairo1-run/
cargo run --features mod_builtin -- test.cairo --layout all_cairo
This fails with the following error:
Error: VirtualMachine(Hint((0, Memory(InconsistentMemory((Relocatable { segment_index: 1, offset: 4 }, Int(9999999999999), RelocatableValue(Relocatable { segment_index: 5, offset: 0 })))))))
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Given this Cairo program:
Run in
cairo1-run/
:This fails with the following error:
Error: VirtualMachine(Hint((0, Memory(InconsistentMemory((Relocatable { segment_index: 1, offset: 4 }, Int(9999999999999), RelocatableValue(Relocatable { segment_index: 5, offset: 0 })))))))
The text was updated successfully, but these errors were encountered: