fix: resume EVM to Miden deposits - #12
Open
Abhimanyu121 wants to merge 1 commit into
Open
Abhimanyu121 wants to merge 1 commit into
Abhimanyu121 wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
React Doctor found 1 new issue in 1 file · 1 warning · score 92 / 100 (Great) · 1 fixed · vs 1 warning
Reviewed by React Doctor for commit |
| resourceLockStatus?: ResourceLockStatus | null; | ||
| } | ||
|
|
||
| export function WithdrawForm({ |
There was a problem hiding this comment.
React Doctor · react-doctor/no-high-complexity-react-function (warning)
WithdrawForm has cyclomatic complexity 20, cognitive complexity 15, 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.
This branch had an error being deployed
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.
Summary
Why
A confirmed EVM-to-Miden Compact deposit could appear stuck while the server-side allocator hand-off was delayed or the page reloaded. This PR makes the real stage visible and gives the user a safe resume path.
Validation
viemtype-version mismatch insrc/lib/epoch-sdk.ts.Dependency
Requires the recovery-flow SDK/API changes in https://github.com/epochprotocol/smallocator/pull/57. The nonce multicall change in https://github.com/epochprotocol/smallocator/pull/58 is intentionally independent.