feat(backend): add centralized error handling - #129
Merged
Smartdevs17 merged 7 commits intoMar 25, 2026
Conversation
shoaib050326
commented
Mar 25, 2026
Contributor
|
Someone is attempting to deploy a commit to the smartdevs17's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@shoaib050326 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
Contributor
Author
## Update
I investigated the repeated frontend CI failures on this PR and found that they were coming from a dependency mismatch rather than a single isolated code bug.
### Root Cause
The frontend had incompatible Web3Auth packages installed together:
- `@web3auth/modal` was on `^10.15.0`
- `@web3auth/base` and `@web3auth/ethereum-provider` were still on `^8.12.4`
Because of that mismatch, CI kept surfacing different TypeScript errors in `frontend/components/auth/SocialLogin.tsx` one after another, depending on which package surface TypeScript resolved first.
### What I Changed
- aligned the Web3Auth packages to a single compatible version line:
- `@web3auth/base@^9.7.0`
- `@web3auth/ethereum-provider@^9.7.0`
- `@web3auth/modal@^9.7.0`
- updated `frontend/package-lock.json` to match the corrected dependency set
- updated `frontend/components/auth/SocialLogin.tsx` to use the matching v9 API:
- `web3auth.initModal()`
- `WALLET_ADAPTERS.AUTH`
### Other CI Fixes Already Included In This Branch
This branch also includes the earlier fixes for:
- backend centralized error handling
- contract build failure from missing `deadline` in batch project creation
- frontend invoice/verification typing issue
- frontend wagmi import issue that was pulling optional connector packages into the build
- frontend font/build stability adjustments
### Validation
Confirmed locally after the dependency alignment:
- `cargo build --release` ✅
- `npm run build` / frontend code path verified
- `npx next build --webpack` ✅
|
Owner
|
resolve conflicts |
added 6 commits
March 25, 2026 12:57
shoaib050326
force-pushed
the
codex/issue-13-error-handling
branch
from
March 25, 2026 07:32
6d49cb8 to
0d2edb3
Compare
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.