You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So when working on #62 I found out about a critical bug on the FieldElement type that's basically breaking all contract deployments and calls. This code doesn't work:
let num = FieldElement::from_hex_be("0x1").unwrap();let text = serde_json::to_string(&num).unwrap();assert_eq!(text, "\"1\"");
Fails with:
thread 'tests::test_json_ser' panicked at 'assertion failed: `(left == right)`
left: `"\"0\""`,
right: `"\"1\""`', starknet-ff/src/lib.rs:450:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
The text was updated successfully, but these errors were encountered:
So when working on #62 I found out about a critical bug on the
FieldElement
type that's basically breaking all contract deployments and calls. This code doesn't work:Fails with:
The text was updated successfully, but these errors were encountered: