Skip to content

fix(protocol-contracts): add explicit error for stakeExcess underflow (L-04)#1683

Merged
melanciani merged 2 commits intomainfrom
melanciani/fix/protocol-contracts/staking/stakeexcess_explicit_error
Jan 5, 2026
Merged

fix(protocol-contracts): add explicit error for stakeExcess underflow (L-04)#1683
melanciani merged 2 commits intomainfrom
melanciani/fix/protocol-contracts/staking/stakeexcess_explicit_error

Conversation

@melanciani
Copy link
Copy Markdown
Contributor

@melanciani melanciani commented Dec 30, 2025

Note: we decided to also revert if there the excess token is exactly null (as we don't see the point of allowing this)

refs https://github.com/zama-ai/fhevm-internal/issues/826

@melanciani melanciani requested a review from a team as a code owner December 30, 2025 11:29
@cla-bot cla-bot bot added the cla-signed label Dec 30, 2025
@mergify
Copy link
Copy Markdown

mergify bot commented Dec 30, 2025

🧪 CI Insights

Here's what we observed from your CI run for 8a1183f.

🟢 All jobs passed!

But CI Insights is watching 👀

@melanciani melanciani force-pushed the melanciani/fix/protocol-contracts/staking/stakeexcess_explicit_error branch from f3542ee to 8868f62 Compare December 30, 2025 16:38
@melanciani melanciani requested review from arr00 and jatZama December 30, 2025 16:55
jatZama
jatZama previously approved these changes Dec 30, 2025
@melanciani melanciani force-pushed the melanciani/fix/protocol-contracts/staking/stakeexcess_explicit_error branch from fce907d to 8a1183f Compare January 5, 2026 12:34
@melanciani melanciani changed the title fix(protocol-contracts): add explicit error for stakeExcess underflow (L-05) fix(protocol-contracts): add explicit error for stakeExcess underflow (L-04) Jan 5, 2026
@melanciani melanciani merged commit 047fb4c into main Jan 5, 2026
65 checks passed
@melanciani melanciani deleted the melanciani/fix/protocol-contracts/staking/stakeexcess_explicit_error branch January 5, 2026 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants