Skip to content

Commit

Permalink
Fix: was trying to get BigUint from exec_scopes
Browse files Browse the repository at this point in the history
  • Loading branch information
MegaRedHand committed Apr 27, 2023
1 parent 85ab196 commit e5658d4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/hint_processor/builtin_hint_processor/secp/ec_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,6 @@ mod tests {
};
use assert_matches::assert_matches;

use num_bigint::BigUint;
#[cfg(target_arch = "wasm32")]
use wasm_bindgen_test::*;

Expand Down Expand Up @@ -1254,8 +1253,8 @@ mod tests {
assert_matches!(run_hint!(vm, ids_data, hint_code, &mut exec_scopes), Ok(()));
//Check 'ALPHA' is defined in the vm scope
assert_matches!(
exec_scopes.get::<BigUint>("ALPHA"),
Ok(x) if x == biguint_str!(
exec_scopes.get::<BigInt>("ALPHA"),
Ok(x) if x == bigint_str!(
"115792089210356248762697446949407573530086143415290314195533631308867097853948"
)
);
Expand Down

0 comments on commit e5658d4

Please sign in to comment.