golemfactory / concent

Repository for Concent Service sources
8 stars 7 forks source link

Payment report won't work correctly when the database contains Golem messages from an incompatible version #1122

Open Jakub89 opened 5 years ago

Jakub89 commented 5 years ago

Related to this comment. Concent accept two version of GM on testnet, and also it's possible that database will not be flushed after version update, so parts of code like:

task_to_compute = deserialize_message(subtask.task_to_compute.data.tobytes())

can fail or show incorrect data, because we deserialize using one version of golem-messages.