diff --git a/script/src/bin/evm.rs b/script/src/bin/evm.rs index f694f61..d3c9e14 100644 --- a/script/src/bin/evm.rs +++ b/script/src/bin/evm.rs @@ -14,11 +14,13 @@ use alloy_sol_types::SolType; use clap::{Parser, ValueEnum}; use fibonacci_lib::PublicValuesStruct; use serde::{Deserialize, Serialize}; -use sp1_sdk::{HashableKey, ProverClient, SP1ProofWithPublicValues, SP1Stdin, SP1VerifyingKey}; +use sp1_sdk::{ + include_elf, HashableKey, ProverClient, SP1ProofWithPublicValues, SP1Stdin, SP1VerifyingKey, +}; use std::path::PathBuf; /// The ELF (executable and linkable format) file for the Succinct RISC-V zkVM. -pub const FIBONACCI_ELF: &[u8] = include_bytes!("../../../elf/riscv32im-succinct-zkvm-elf"); +pub const FIBONACCI_ELF: &[u8] = include_elf!("fibonacci-program"); /// The arguments for the EVM command. #[derive(Parser, Debug)] diff --git a/script/src/bin/main.rs b/script/src/bin/main.rs index 33089b1..97d03b7 100644 --- a/script/src/bin/main.rs +++ b/script/src/bin/main.rs @@ -13,10 +13,10 @@ use alloy_sol_types::SolType; use clap::Parser; use fibonacci_lib::PublicValuesStruct; -use sp1_sdk::{ProverClient, SP1Stdin}; +use sp1_sdk::{include_elf, ProverClient, SP1Stdin}; /// The ELF (executable and linkable format) file for the Succinct RISC-V zkVM. -pub const FIBONACCI_ELF: &[u8] = include_bytes!("../../../elf/riscv32im-succinct-zkvm-elf"); +pub const FIBONACCI_ELF: &[u8] = include_elf!("fibonacci-program"); /// The arguments for the command. #[derive(Parser, Debug)]