hello @hackfisher @yrong @hujw77 @WoeOm @xiaoch05 ,
please check this PR.
Changes:
- Updated
executeTransaction to set executed = true before external calls.
- Used CEI pattern to prevent reentrancy.
- Added fallback to
send for safe Ether transfers.
- Improved error handling on external calls.
Testing:
- Added unit tests for reentrancy scenarios.
- Verified successful and unsuccessful transaction execution behavior.
hello @hackfisher @yrong @hujw77 @WoeOm @xiaoch05 ,
please check this PR.
Changes:
executeTransactionto setexecuted = truebefore external calls.sendfor safe Ether transfers.Testing: