Skip to content

feat(miden): configure 0.16 testnet dummy faucets - #10

Merged
Man-Jain merged 5 commits into
devfrom
chore/miden-0.16-integration
Sep 11, 2026
Merged

Man-Jain merged 5 commits into
devfrom
chore/miden-0.16-integration

Conversation

@jasspreetbawa13

Copy link
Copy Markdown
Collaborator

Uses the tested Miden Testnet USDC dummy faucet as the default and recognizes all five configured 6-decimal dummy faucet assets.

@vercel

vercel Bot commented Sep 11, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
miden-integration-example Ready Ready Preview Sep 11, 2026 3:55pm UTC

@github-actions

github-actions Bot commented Sep 11, 2026 •

Copy link
Copy Markdown

React Doctor found 4 new issues in 4 files · 4 warnings · score 84 / 100 (Needs work) · 3 fixed · vs dev

4 warnings

src/components/crosschain/IntentForm.tsx

  • ⚠️ L49 React function has high control-flow complexity no-high-complexity-react-function

src/components/crosschain/IntentStatus.tsx

  • ⚠️ L120 React function has high control-flow complexity no-high-complexity-react-function

src/components/crosschain/WithdrawForm.tsx

  • ⚠️ L36 React function has high control-flow complexity no-high-complexity-react-function

src/components/providers/MidenNetworkApp.tsx

  • ⚠️ L20 Unstable context provider value jsx-no-constructed-context-values

Reviewed by React Doctor for commit 63a65fd. See inline comments for fixes.

@@ -117,6 +118,7 @@ function StatusRow({
}

export function IntentStatus({ result, error, flowStatus, isPolling }: Props) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

React Doctor · react-doctor/no-high-complexity-react-function (warning)

IntentStatus has cyclomatic complexity 18, cognitive complexity 17, and maximum nesting depth 2, so its React logic is hard to understand and change. Extract independent branches into components or hooks.

Fix → Extract independent render branches and state logic into focused components or hooks until the control flow is easy to follow.

Docs

const networkConfig = getMidenNetworkConfig(network);

return (
<MidenNetworkContext.Provider value={{ network }}>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

React Doctor · react-doctor/jsx-no-constructed-context-values (warning)

Every reader of this context redraws on each render because you build its value inline.

Fix → Wrap the context value in useMemo or move it outside the component so consumers do not redraw every render.

Docs

@Man-Jain
Man-Jain merged commit c0e5608 into dev Sep 11, 2026
4 checks passed
@Man-Jain
Man-Jain deleted the chore/miden-0.16-integration branch September 11, 2026 18:37

This branch was successfully deployed

1 active deployment
Preview — 63a65fd8 Deployed Sep 11, 2026 by vercel[bot]
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.

2 participants