fix: add fix for checking for correct messageId in `OPL2ToL1Ism` and `ArbL2ToL1Ism` via external call (#4437)
### Description - In agreement with Chainlight team's recommendation, added a second isVerified() check after portal call to make sure an arbitrary call which passes the check for metadata length and messageId cannot be verified without calling is verifyMessageId(messageId) in `OPL2ToL1Ism` and `ArbL2ToL1` ### Drive-by changes None ### Related issues - fixes https://github.com/chainlight-io/2024-08-hyperlane/issues/2 ### Backward compatibility No, but the contracts aren't deployed anywhere ### Testing Unit testingpull/4724/head
parent
32d0a67c21
commit
c9085afd96
@ -0,0 +1,5 @@ |
||||
--- |
||||
'@hyperlane-xyz/core': patch |
||||
--- |
||||
|
||||
Patched OPL2ToL1Ism to check for correct messageId for external call in verify |
Loading…
Reference in new issue