Did some refactoring to make it clear what some structs are designed to be. Previous structure was designed to have Identity sign device lists as well, but we finally opted out of it (only primary device signs them).
Short summary:
- UpdateDeviceListRequest is a request coming from primary device calling update RPCs
- SignedDeviceList is a JSON payload, Whitepaper 6.2.3
- RawDeviceList is a helper struct for inner stringified JSON (see whitepaper)
- DeviceListUpdate is actual payload containing device list data to be processed in DDB transaction (some more details in the next diff)
Depends on D11897