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
Moreover, I can see some of the functions like onUpgrade, nativeDropAndExecute301, execute301 are dependent on receiveUln301. So, it's clear that receiveUln301 has to be set in initializer function.
I also found another file - LzExecutor.sol which seems to be a replacement for Executor.sol as it considers receiveUln302 all over. But, then it doesn't have functions - assignJob, getFee.
Can anyone clear my doubts?
The text was updated successfully, but these errors were encountered:
In
Executor.sol
, theinitialize
function doesn't have_receiveUln302
param, but_receiveUln301
.Code:
LayerZero-v2/messagelib/contracts/Executor.sol
Lines 28 to 42 in 1fde894
Is this expected?
Now, during setup (as in deploying Executor), I found this code in the tests:
LayerZero-v2/messagelib/test/util/Setup.sol
Lines 287 to 292 in 1fde894
Here, can I include
receiveUln302
in thelibs
?Moreover, I can see some of the functions like
onUpgrade
, nativeDropAndExecute301,execute301
are dependent onreceiveUln301
. So, it's clear thatreceiveUln301
has to be set ininitializer
function.I also found another file -
LzExecutor.sol
which seems to be a replacement forExecutor.sol
as it considersreceiveUln302
all over. But, then it doesn't have functions -assignJob
,getFee
.Can anyone clear my doubts?
The text was updated successfully, but these errors were encountered: