diff --git a/src/bin/zk_fibo_generate.rs b/src/bin/zk_fibo_generate.rs deleted file mode 100644 index 8b2c1be..0000000 --- a/src/bin/zk_fibo_generate.rs +++ /dev/null @@ -1,19 +0,0 @@ -#![no_main] -sp1_zkvm::entrypoint!(main); - -use std::hint::black_box; - -fn fibonacci(n: u32) -> u32 { - let mut nums = vec![1, 1]; - for _ in 0..n { - let mut c = nums[nums.len() - 1] + nums[nums.len() - 2]; - c %= 7919; - nums.push(c); - } - nums[nums.len() - 1] -} - -pub fn main() { - let result = black_box(fibonacci(black_box(50000))); - println!("result: {}", result); -}