Skip to content

Commit 5ab503a

Browse files
committed
fix(coprocessor): force update uncomputable for all transactions on missing input
1 parent 85dd47a commit 5ab503a

File tree

1 file changed

+7
-0
lines changed
  • coprocessor/fhevm-engine/scheduler/src

1 file changed

+7
-0
lines changed

coprocessor/fhevm-engine/scheduler/src/dfg.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,13 @@ impl DFTxGraph {
282282
.node_weight_mut(tx_node_index)
283283
.ok_or(SchedulerError::DataflowGraphError)?;
284284
tx_node.is_uncomputable = true;
285+
for (_idx, op) in tx_node.graph.graph.node_references() {
286+
self.results.push(DFGTxResult {
287+
transaction_id: tx_node.transaction_id.clone(),
288+
handle: op.result_handle.to_vec(),
289+
compressed_ct: Err(SchedulerError::MissingInputs.into()),
290+
});
291+
}
285292
for edge in edges.edges_directed(tx_node_index, Direction::Outgoing) {
286293
let dependent_tx_index = edge.target();
287294
self.set_uncomputable(dependent_tx_index, edges)?;

0 commit comments

Comments
 (0)