Skip to content
This repository has been archived by the owner on Dec 5, 2021. It is now read-only.

[Custom_Messenger] Modify L1_Alt_Messenger to enable relay attempts from only the specialised relayer address #18

Open
souradeep-das opened this issue May 26, 2021 · 1 comment

Comments

@souradeep-das
Copy link

Every message from the L2_CrossDomainMessenger will be attempted to be relayed by the default relayer. Though the attempt to relay messages meant for the Alt_L1_Messenger will ultimately fail, the relayer might still bear the cost of the failed tx. Some ways to remove this -
a. Modify the existing default relayer service to skip attempting relay messages( though they fail internally) when the target is the specified to be the Liquidity Pool
(or)
b. (better) Have unique relayer actor set for the L1_Messenger, who only will be able to call relay method. The default relayer service won't attempt because these tx would fail on the dry run from the very beginning
c. similar to b. instead of having unique relayer, disallow relays from the default relayer address

@souradeep-das
Copy link
Author

this is tackled by adding whitelist and blacklist systems on the respective message relayer.

InoMurko pushed a commit that referenced this issue Jul 12, 2021
InoMurko pushed a commit that referenced this issue Jul 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant