Skip to content

Photos: part 4#235

Open
franciscoaguirre wants to merge 42 commits into
devfrom
photos-4
Open

Photos: part 4#235
franciscoaguirre wants to merge 42 commits into
devfrom
photos-4

Conversation

@franciscoaguirre

Copy link
Copy Markdown
Collaborator

Part of #133

Comment thread user-interfaces/photos/src/lib/fs-client.ts
Comment thread user-interfaces/photos/src/lib/photos-providers.ts
Comment thread user-interfaces/photos/scripts/lib/papi.ts Outdated
Address PR #229 review feedback (danielbui12):
- Extract the duplicated M2/M3 "re-enumerate -> recompute root -> read
  on-chain anchor (retry for best-block lag) -> assert recomputed ==
  on-chain == index_root" block into a local verifyAnchor helper,
  parameterized by an isStale predicate.
- Replace the hardcoded retry bound 5 with a named ANCHOR_RETRY_BLOCKS
  constant.

Behavior-preserving: identical asserts and console output.
Bring photos-3's dev sync (CI, dependabot, deps), the new shared
chain-client package, and SDK additions (core/merkle.ts, layer1 fs
client) into photos-4. Photos UI conflicts resolved in favor of
photos-4's part-5 work (reworked contract/ABI, self-contained
chain-client). Dropped photos-3's stale scripts/ build pipeline
(superseded by contracts/) and the orphaned layer1 merkle WIP in
favor of core/merkle.ts. Lockfile regenerated.
Base automatically changed from photos-3 to dev July 2, 2026 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants