mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-02 21:33:09 +00:00
multiplication test method
This commit is contained in:
parent
fba18bc941
commit
baa25b2e97
9
zkvm/test_methods/guest/src/bin/multiplication.rs
Normal file
9
zkvm/test_methods/guest/src/bin/multiplication.rs
Normal file
@ -0,0 +1,9 @@
|
||||
use risc0_zkvm::{
|
||||
guest::env,
|
||||
};
|
||||
|
||||
fn main() {
|
||||
let lhs: u64 = env::read();
|
||||
let rhs: u64 = env::read();
|
||||
env::commit(&(lhs * rhs));
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user