Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ctian1 authored and jtguibas committed Dec 20, 2023
1 parent cc81e22 commit 4c755f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plonky2x/core/src/backend/function/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pub struct RemoteRecursiveProofsRequestData {
#[serde(rename_all = "camelCase")]
pub struct ProofRequestBase<D> {
pub release_id: String,
pub parent_id: String,
pub parent_id: Option<String>,
pub files: Option<Vec<String>>,
pub data: D,
}
Expand All @@ -79,7 +79,7 @@ impl<L: PlonkParameters<D>, const D: usize> ProofRequest<L, D> {
/// Creates a new function request from a circuit and public input.
pub fn new(circuit_id: &str, input: &PublicInput<L, D>) -> Self {
let release_id = env::var("RELEASE_ID").unwrap();
let parent_id = env::var("PROOF_ID").unwrap();
let parent_id = Some(env::var("PROOF_ID").unwrap());
match input {
PublicInput::Bytes(input) => ProofRequest::Bytes(ProofRequestBase {
release_id,
Expand Down

0 comments on commit 4c755f4

Please sign in to comment.