Skip to content

fix: fetch price over clearnet when Mixnet Mode is off - #1340

Merged
juanky201271 merged 11 commits into
devfrom
feat/clearnet-price-fetch
Aug 31, 2026
Merged

fix: fetch price over clearnet when Mixnet Mode is off#1340
juanky201271 merged 11 commits into
devfrom
feat/clearnet-price-fetch

Conversation

@dorianvp

@dorianvp dorianvp commented Aug 27, 2026

Copy link
Copy Markdown
Member

Integrates zingolabs/zingolib#2747: price fetch now works without nym!

dorianvp and others added 2 commits August 26, 2026 23:06
Point zingolib at the clearnet_price_when_switched_off branch (zingolib
PR #2747): update_current_price now consents to a clearnet fetch while
Mixnet Mode is switched off, and PriceFetchRequiresMixnet is gone. Adapt
the FFI error funnel to the removed variant and the
NoEligibleCorrespondent -> NoEligibleDestination rename, and align the
android test crate's zcash_local_net pin with the branch. Repin to a tag
before this lands.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

@zancas zancas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's fix nym price fetch soon, in addition.

zancas
zancas previously approved these changes Aug 27, 2026
zingolib PR #2747 merged as eb62284f; the three pins move from the PR
branch to dev.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@dorianvp
dorianvp force-pushed the feat/clearnet-price-fetch branch from 5334ed7 to b11e71f Compare August 27, 2026 22:54
@dorianvp
dorianvp marked this pull request as ready for review August 27, 2026 22:57

@juanky201271 juanky201271 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two things block the stated goal ("price fetch now works without nym"), plus a repin nit — inline.

Minor: after the Correspondent -> Destination rename the prose still says Correspondent in rust/lib/src/lib.rs (351, 611, 627) and app/walletBackend/utils/walletUtils.ts:84. The package.json beta script and the Dockerfile --bin fix look correct, but they are unrelated to the title.

Comment thread rust/lib/src/lib.rs
Comment thread rust/Cargo.toml
@juanky201271
juanky201271 requested a review from zancas August 29, 2026 17:28
@dorianvp
dorianvp requested a review from juanky201271 August 31, 2026 19:30
@github-actions

github-actions Bot commented Aug 31, 2026

Copy link
Copy Markdown

Visual review — ✅ matches baseline

Head vs visual/__baseline__. Open the review page — Current, Animations, and Image diffs tabs.

@juanky201271 juanky201271 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The gate moves the right way now, but the opt-in transition opens a clearnet fetch — inline.

Also: CONTEXT.md still carries the deleted ADR's rule in the glossary — Route ("A price fetch that resolves to clearnet is refused, never sent") and Price consent ("Selecting Nym ... the single and only consent for price traffic"). Those two entries now contradict the code and should move with it.

Still open from the last round: branch = "dev" in rust/Cargo.toml.

Comment thread components/Components/priceFetcherStore.ts
@dorianvp
dorianvp requested a review from juanky201271 August 31, 2026 20:12
@juanky201271
juanky201271 merged commit 73b6c56 into dev Aug 31, 2026
34 checks passed
@juanky201271
juanky201271 deleted the feat/clearnet-price-fetch branch August 31, 2026 21:16
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