You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In ethexe/contracts/src/Mirror.sol, the function replySent attempts to transfer tokens to a given destination, and then emits a Reply event. Depending on whether value is greater than 0, a transfer may or may not happen. It would be useful for the caller to know if a transfer actually took place or not.
Possible Solution
If value is greater than 0, emit a different event, like ReplyAndValueClaimed.
Notes
No response
The text was updated successfully, but these errors were encountered:
grishasobol
changed the title
extend replySent to emit different event if value is claimedethexe: extend replySent to emit different event if value is claimed
Aug 22, 2024
Problem to Solve
In
ethexe/contracts/src/Mirror.sol
, the functionreplySent
attempts to transfer tokens to a given destination, and then emits aReply
event. Depending on whethervalue
is greater than 0, a transfer may or may not happen. It would be useful for the caller to know if a transfer actually took place or not.Possible Solution
If
value
is greater than 0, emit a different event, likeReplyAndValueClaimed
.Notes
No response
The text was updated successfully, but these errors were encountered: