use risc0_zkvm::{guest::env};
use serde::{Serialize, Deserialize, Deserializer};
// Data Inputs that zk-worker will send
// These struct definitions match the JSON format from zk-data-prep
#[derive(Serialize, Deserialize, Clone, Debug)]
pub struct Token {use std::str::FromStr;
use anchor_lang::{prelude::*, solana_program::program::invoke};
use bonsol_interface::instructions::{CallbackConfig, ExecutionConfig, InputRef, execute_v1};
use crate::{Contest, ContestInput, ContestState, IMAGE_ID,error::ErrorCode};
#[derive(Accounts)]
#[instruction(execution_id:String)]When I call execute_v1 via CPI to request a ZK proof, I get the error:
An account required by the instruction is missing
Program log: Instruction: RequestEndContestProof
Program GVP9mBCdGTTfiBmMWf1h5pqyXxorFeBmUvBbC7aUiTXS consumed 28033 of 200000 compute units
Program GVP9mBCdGTTfiBmMWf1h5pqyXxorFeBmUvBbC7aUiTXS failed: An account required by the instruction is missing