Skip to content

[Job Launcher] fix: error loading fee with an invalid rpc - #3988

Merged
dnechay merged 3 commits into
developfrom
fix-fee-load
Jul 29, 2026
Merged

[Job Launcher] fix: error loading fee with an invalid rpc#3988
dnechay merged 3 commits into
developfrom
fix-fee-load

Conversation

@portuu3

@portuu3 portuu3 commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator

Issue tracking

NA

Context behind the change

The app used MetaMask’s SDK connector, which used Wagmi’s default Polygon Amoy RPC instead of the RPC configured in the MetaMask extension. That public RPC failed DNS/network requests, leaving jobLauncherFee undefined and causing the Decimal crash.
We switched to MetaMask’s injected browser provider and added loading guards before calculating the fee.

How has this been tested?

Locally

Release plan

NA

Potential risks; What to monitor; Rollback plan

NA

@portuu3
portuu3 requested a review from dnechay July 29, 2026 11:22
@portuu3 portuu3 self-assigned this Jul 29, 2026
@vercel

vercel Bot commented Jul 29, 2026

Copy link
Copy Markdown

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

5 Skipped Deployments
Project Deployment Actions Updated (UTC)
faucet-frontend Ignored Ignored Preview Jul 29, 2026 11:28am
faucet-server Ignored Ignored Preview Jul 29, 2026 11:28am
human-app Skipped Skipped Jul 29, 2026 11:28am
human-dashboard-frontend Skipped Skipped Jul 29, 2026 11:28am
staking-dashboard Skipped Skipped Jul 29, 2026 11:28am

Request Review

@vercel
vercel Bot temporarily deployed to Preview – staking-dashboard July 29, 2026 11:28 Inactive
@vercel
vercel Bot temporarily deployed to Preview – human-dashboard-frontend July 29, 2026 11:28 Inactive
@vercel
vercel Bot temporarily deployed to Preview – human-app July 29, 2026 11:28 Inactive

@dnechay dnechay left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

"Pay now" loading state doesn't work as expected, but not related to this PR

@dnechay dnechay changed the title Fix error loading fee with an invalid rpc [Job Launcher] fix: error loading fee with an invalid rpc Jul 29, 2026
@dnechay
dnechay merged commit 126ba04 into develop Jul 29, 2026
13 checks passed
@dnechay dnechay mentioned this pull request Jul 29, 2026
25 tasks
@dnechay
dnechay deleted the fix-fee-load branch July 30, 2026 11:57
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