mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-08 08:43:06 +00:00
return bool
This commit is contained in:
parent
89122a3d73
commit
537debdc2e
@ -265,7 +265,7 @@ fn test_bn_pairing() -> Result<()> {
|
||||
memory: vec![(ptr, inputs)],
|
||||
};
|
||||
let interpreter = run_interpreter_with_memory(setup).unwrap();
|
||||
let output: Vec<U256> = interpreter.extract_kernel_memory(BnPairing, out..out + 12);
|
||||
assert_eq!(output, Fp12::<BN254>::UNIT.on_stack());
|
||||
|
||||
assert_eq!(interpreter.stack()[0], U256::one());
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user