Closed 0x6e616d closed 1 month ago
Please don't make changes in the contracts. We are all preparing the external audit (resolving test code in contracts and NAT spec...)
These changes are from the internal audit. Related to this problem we discussed before
I changed it to the Draft PR. We will decide when the external audit report is finished.
This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 5 days.
L1XDM
contract, we prevent sendingETH
to this contract when usingsendMessage
functionL2XDM
contract, we prevent sending the native token and the _target is an EOA when usingsendMessage
function, because in therelayMessage
, the _target must transfer the native token when that is called.