Hyperlane contracts feedback
Closed this issue · 1 comments
Local Domain Immutable : got it, we cannot specify directly on the storage that the variable is immutable, but the only way to change the value of the local domain is through the line self.local_domain.write()
. I will remove the possibility to do for the owner
Ownable Upgradeable removal : I can remove the upgradeable, but it will be trickier to remove the ownable. From what I have understood, when deploying the merkle_tree_hook
, we specify a mailbox and initiate the merkle_tree_hook
contract with an instance mailbox client associated to the mailbox provided. Even if the mailbox is immutable, the mailbox client associated is mutable, since we can set the hooks or the ism. If it is really necessary to remove the ownable part, I can but it will slightly modify the trait definition and architecture.
separate AbstractPostDispatchHook I am not sure I understood what you meant here, can you detail please ?
set_modules I see what you mean, maybe a solution here could be to define and set the modules in the constructor and disable the set_module function. However, we loose some flexibility, what do you think @aroralanuk