Skip to content
This repository has been archived by the owner on Jan 9, 2025. It is now read-only.

[KGA-26] [KGA-17] feat: add checks on Starknet return values for DualVMToken #1616

Merged
merged 4 commits into from
Nov 20, 2024

Conversation

enitrat
Copy link
Collaborator

@enitrat enitrat commented Nov 18, 2024

code-423n4/2024-09-kakarot-findings#51
code-423n4/2024-09-kakarot-findings#42

Checks the return value for DualVMToken. If the SN call returned false, panicking the EVM call will make the starknet tx revert as a side effect.

Copy link

Copy link

codecov bot commented Nov 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.8%. Comparing base (ae79059) to head (cd2a499).
Report is 1 commits behind head on main.

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #1616   +/-   ##
=====================================
  Coverage   63.8%   63.8%           
=====================================
  Files         44      44           
  Lines       8330    8330           
=====================================
+ Hits        5315    5318    +3     
+ Misses      3015    3012    -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

obatirou
obatirou previously approved these changes Nov 18, 2024
@enitrat enitrat requested a review from obatirou November 19, 2024 03:18
obatirou
obatirou previously approved these changes Nov 19, 2024
ClementWalter
ClementWalter previously approved these changes Nov 20, 2024
@ClementWalter ClementWalter dismissed stale reviews from obatirou and themself via cd2a499 November 20, 2024 08:42
@ClementWalter ClementWalter merged commit 9b4a593 into main Nov 20, 2024
16 checks passed
@ClementWalter ClementWalter deleted the fix/check-erc20-return-values branch November 20, 2024 08:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants