HomePhabricator
Diffusion Comm 09562b850b78

[keyserver] Generalize state_check status handling using specs

Description

[keyserver] Generalize state_check status handling using specs

Summary:
Instead of computing hash for each store by hand, iterate over specs and compute all the hashes for them.

https://linear.app/comm/issue/ENG-4631/migrate-checkstate-from-session-utils-to-a-spec

Depends on D8946

Test Plan: Bring back the old hash logic and compare the results with the new version.

Reviewers: kamil, bartek, inka

Reviewed By: bartek

Subscribers: ashoat

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

Details

Provenance
tomekAuthored on Aug 25 2023, 3:24 AM
Reviewer
bartek
Differential Revision
D8948: [keyserver] Generalize state_check status handling using specs
Parents
rCOMMb84c831e206f: [keyserver] Simplify fetching threads
Branches
Unknown
Tags
Unknown