HomePhabricator
Diffusion Comm 80cdbba062e5

[identity] Refactor DDB transactions to accept signatures

Description

[identity] Refactor DDB transactions to accept signatures

Summary:
Decided to refactor the closure return type in transact_update_devicelist().
The tuple is a bit ugly and could get even uglier when adding more stuff (device list signatures here). Introduced UpdateOperationInfo struct instead with a simple builder pattern. Included the signatures as well.

Depends on D11898

Test Plan: Device list unit and integration tests. Verified that signatures are stored in DDB when calling the update RPC

Reviewers: kamil, will

Reviewed By: kamil

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D11899

Details

Provenance
bartekAuthored on May 6 2024, 1:39 AM
Reviewer
kamil
Differential Revision
D11899: [identity] Refactor DDB transactions to accept signatures
Parents
rCOMMb06e8dc510fd: [identity] Refactor device list types
Branches
Unknown
Tags
Unknown