File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
coprocessor/fhevm-engine/sns-worker/src Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -232,6 +232,7 @@ pub(crate) async fn run_loop(
232232 continue ;
233233 }
234234
235+ // keys is guaranteed by the branch above; panic here if that invariant ever regresses.
235236 let ( _, keys) = keys. as_ref ( ) . expect ( "keyset should be available" ) ;
236237
237238 let ( maybe_remaining, _tasks_processed) =
@@ -459,8 +460,8 @@ pub async fn query_sns_tasks(
459460 let transaction_id: Option < Vec < u8 > > = record. try_get ( "transaction_id" ) ?;
460461
461462 Ok ( HandleItem {
462- // NOTE: Ensure all coprocessors use the same key_id during rotation
463- // to keep ciphertext_digest consensus on the gateway .
463+ // TODO: During key rotation, ensure all coprocessors pin the same key_id for a batch
464+ // (e.g., via gateway coordination) to keep ciphertext_digest consistent .
464465 key_id : key_id. clone ( ) ,
465466 host_chain_id,
466467 handle : handle. clone ( ) ,
You can’t perform that action at this time.
0 commit comments