Skip to content

fix: check for success in kill and releaseStake#1326

Closed
avichalp wants to merge 1 commit intoconsensus-shipyard:mainfrom
avichalp:avichalp/fix-S303
Closed

fix: check for success in kill and releaseStake#1326
avichalp wants to merge 1 commit intoconsensus-shipyard:mainfrom
avichalp:avichalp/fix-S303

Conversation

@avichalp
Copy link
Copy Markdown

@avichalp avichalp commented Apr 1, 2025

This pull request aim to fix the security issue described here: https://github.com/consensus-shipyard/ipc-recall-audit-1/issues/50

It introduces a new error type and updates the handling of fund transfers in the GatewayManagerFacet contract to ensure proper error handling. The most important changes include adding the new TransferFailed error and modifying the fund transfer logic to check for success and revert if the transfer fails.


This change is Reviewable

@avichalp avichalp marked this pull request as ready for review April 11, 2025 18:28
@avichalp avichalp requested a review from a team as a code owner April 11, 2025 18:28
@avichalp
Copy link
Copy Markdown
Author

@cryptoAtwill: any clue why the e2e tests are failing? it seems to be unrelated

Signed-off-by: avichalp <hi@avichalp.me>
@drahnr drahnr force-pushed the avichalp/fix-S303 branch from b965b3b to 9968a25 Compare April 24, 2025 18:55
@drahnr
Copy link
Copy Markdown
Contributor

drahnr commented Apr 24, 2025

A git dependency of a transient node js dependency disappeared, fixed in main. The rebase should take care of it.

@phutchins phutchins self-requested a review June 2, 2025 16:46
@karlem
Copy link
Copy Markdown
Contributor

karlem commented Jun 2, 2025

Closing, already fixed here: #1351

@karlem karlem closed this Jun 2, 2025
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.

4 participants