Skip to content
This repository has been archived by the owner on Sep 21, 2024. It is now read-only.

Features/sync existing sphere #22

Merged
merged 3 commits into from
Aug 6, 2022
Merged

Features/sync existing sphere #22

merged 3 commits into from
Aug 6, 2022

Conversation

cdata
Copy link
Collaborator

@cdata cdata commented Aug 6, 2022

This change adds tests to confirm that the gateway can correctly update a sphere that it has already seen some revisions for when new revisions are pushed from a client.

HAMT Send + Sync

This change ended up being a bit more involved than I anticipated. Our HAMT is a fork of the FVM/Forest implementation. We forked it to make it compatible with our async storage interface. Our medium-term plan is to switch to a more built-for-purpose implementation (#1), but this will be an effort unto itself. In the mean time, our fork hadn't been updated to meet Send + Sync bounds on not-web. Most of the work in this change ended up being making that tweak to the HAMT.

Fixes #14
Fixes #17

@cdata cdata merged commit 9365e09 into main Aug 6, 2022
@cdata cdata deleted the features/sync-existing-sphere branch August 6, 2022 04:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant