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
The implication of this is that getting the ISM or Hook will only return None (indicating to use the default hook or ISM configured on the Mailbox) if it hasn't been set before:
Background
The
ConnectionMsg::SetIsm
message only lets you set a new ISM, and same forConnectionMsg::SetHook
:cw-hyperlane/packages/connection/src/lib.rs
Lines 51 to 68 in 4f5656d
The implication of this is that getting the ISM or Hook will only return
None
(indicating to use the default hook or ISM configured on the Mailbox) if it hasn't been set before:cw-hyperlane/packages/connection/src/lib.rs
Lines 72 to 100 in 4f5656d
Which means that any contract using
connection
that has previously set an ISM or Hook won't be able to opt back into using the default ISM or Hook.Required Criteria
ConnectionMsg::SetIsm
accepts an Option, where None unsets the ISM and opts the contract back into using the default ISMConnectionMsg::SetHook
accepts an Option, where None unsets the hook and opts the contract back into using the default hookAppendix
The text was updated successfully, but these errors were encountered: