diff --git a/massa-execution-worker/src/execution.rs b/massa-execution-worker/src/execution.rs index a11b8ddda7..ec1a2b4669 100644 --- a/massa-execution-worker/src/execution.rs +++ b/massa-execution-worker/src/execution.rs @@ -1740,6 +1740,9 @@ impl ExecutionState { let messages = context_guard!(self) .take_async_batch(async_msg_gas_available, self.config.async_msg_cst_gas_cost); + // clear operation id (otherwise events will be generated using this operation id) + self.execution_context.lock().origin_operation_id = None; + // Try executing asynchronous messages. // Effects are cancelled on failure and the sender is reimbursed. for (_message_id, message) in messages {