Skip to content

fix(stake): guard parseEther against empty amount - #2279

Merged
scguaquetam merged 1 commit into
mainfrom
fix/stakeGuard
Nov 24, 2026
Merged

scguaquetam merged 1 commit into
mainfrom
fix/stakeGuard

Conversation

@scguaquetam

Copy link
Copy Markdown
Member

viem 2.57 throws on parseEther(''), which crashed the Unstake and USD Vault Deposit modals on open. Default the amount to '0' in the stake, unstake and allowance hooks.

viem 2.57 throws on parseEther(''), which crashed the Unstake and
USD Vault Deposit modals on open. Default the amount to '0' in the
stake, unstake and allowance hooks.
@github-actions

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@scguaquetam
scguaquetam marked this pull request as ready for review November 24, 2026 11:06
@scguaquetam
scguaquetam merged commit 6857817 into main Nov 24, 2026
7 checks passed
@scguaquetam
scguaquetam deleted the fix/stakeGuard branch November 24, 2026 11:15
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.

1 participant