Skip to content

Commit

Permalink
Fix: original message was not copied
Browse files Browse the repository at this point in the history
  • Loading branch information
hoh committed Feb 20, 2024
1 parent 60ea96c commit 7a90e12
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/aleph/vm/pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,12 +220,14 @@ async def _load_persistent_executions(self):
continue

vm_id = saved_execution.vm_id

message_dict = json.loads(saved_execution.message)
original_dict = json.loads(saved_execution.original_message)

execution = VmExecution(
vm_hash=vm_hash,
message=get_message_executable_content(message_dict),
original=get_message_executable_content(message_dict),
original=get_message_executable_content(original_dict),
snapshot_manager=self.snapshot_manager,
systemd_manager=self.systemd_manager,
persistent=saved_execution.persistent,
Expand Down

0 comments on commit 7a90e12

Please sign in to comment.