In order to easily query activities that belong to certain apps and/or organizations we need to augment the to and from properties of activity documents with some additional data.
Currently, these properties are a checksummed address, but a more suitable format would be:
Where organization is the organization that sent/received the activity, address is the specific sender/recipient (such as a voting app) and appId is the app ID of address in the case that the sender/recipient is an app.
Solving this task both involves persisting this data on an ongoing basis and creating a migration for old data. It also requires changes to the app score calculation task.
In order to easily query activities that belong to certain apps and/or organizations we need to augment the
to
andfrom
properties of activity documents with some additional data.Currently, these properties are a checksummed address, but a more suitable format would be:
Where
organization
is the organization that sent/received the activity,address
is the specific sender/recipient (such as a voting app) andappId
is the app ID ofaddress
in the case that the sender/recipient is an app.Solving this task both involves persisting this data on an ongoing basis and creating a migration for old data. It also requires changes to the app score calculation task.