Skip to content

Photos: part 2#229

Merged
franciscoaguirre merged 7 commits into
devfrom
photos-2
Jun 29, 2026
Merged

Photos: part 2#229
franciscoaguirre merged 7 commits into
devfrom
photos-2

Conversation

@franciscoaguirre

Copy link
Copy Markdown
Collaborator

Part of #133

@franciscoaguirre franciscoaguirre changed the title Photos: milestone 2 Photos: part 2 Jun 24, 2026
Comment thread user-interfaces/photos/scripts/photos-flow.ts Outdated
Comment thread user-interfaces/photos/scripts/photos-flow.ts Outdated
franciscoaguirre added a commit that referenced this pull request Jun 25, 2026
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.
Comment thread packages/core/src/merkle.ts
Base automatically changed from dapp-example to dev June 26, 2026 17:54
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.
@franciscoaguirre franciscoaguirre added this pull request to the merge queue Jun 29, 2026
Merged via the queue into dev with commit 4304469 Jun 29, 2026
40 checks passed
@franciscoaguirre franciscoaguirre deleted the photos-2 branch June 29, 2026 16:01
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