Adding EVENT_NAME_INVALID_OUTBOX_ROOT_VERIFICATION event on verifyPartnerChainOutboxRoot failure as well as on SMT failure.
Apart from the above change, verifyPartnerChainOutboxRoot and verifyCertificateSignature are taken out from beforeCrossChainMessagesExecution so now transaction will fail if any of these 2 functions will fail.
Steps to reproduce
Submit a CCU with invalid PartnerChainOutboxRoot
Which version(s) does this affect? (Environment, OS, etc...)
Expected behavior
When a transaction execution fails in
verifyPartnerChainOutboxRoot
during CCU execution, it should log a proper message and log an eventActual behavior
Currently when the command fails on
verifyPartnerChainOutboxRoot
there is no error message or event related to it.Related LIP PR to fix it by,
EVENT_NAME_INVALID_OUTBOX_ROOT_VERIFICATION
event onverifyPartnerChainOutboxRoot
failure as well as on SMT failure.verifyPartnerChainOutboxRoot
andverifyCertificateSignature
are taken out frombeforeCrossChainMessagesExecution
so now transaction will fail if any of these 2 functions will fail.Steps to reproduce
Submit a CCU with invalid
PartnerChainOutboxRoot
Which version(s) does this affect? (Environment, OS, etc...)
6.0.0-rc.3