Skip to content

Commit 50ff4cd

Browse files
committed
Revert "fix: return correct witness inputs (#2770)"
This reverts commit 2516e2e.
1 parent ba9cc7b commit 50ff4cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/node/external_proof_integration_api/src/processor.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ pub(crate) struct ProofGenerationDataResponse(ProofGenerationData);
2525
impl IntoResponse for ProofGenerationDataResponse {
2626
fn into_response(self) -> Response {
2727
let l1_batch_number = self.0.l1_batch_number;
28-
let data = match bincode::serialize(&self.0.witness_input_data) {
28+
let data = match bincode::serialize(&self.0) {
2929
Ok(data) => data,
3030
Err(err) => {
3131
return ProcessorError::Serialization(err).into_response();
@@ -171,7 +171,7 @@ impl Processor {
171171
return Err(ProcessorError::BatchNotReady(l1_batch_number));
172172
}
173173

174-
self.proof_generation_data_for_existing_batch_internal(l1_batch_number)
174+
self.proof_generation_data_for_existing_batch_internal(latest_available_batch)
175175
.await
176176
.map(ProofGenerationDataResponse)
177177
}

0 commit comments

Comments
 (0)