• Mark Tyneway's avatar
    contracts-bedrock: fix `SentMessage` event (#11305) · 6f8aec82
    Mark Tyneway authored
    * contracts-bedrock: fix `SentMessage` event
    
    The bytecode emitted from `SentMessage(bytes) anonymous` abi encoded
    the `relayMessage` call, breaking the ability to put calldata directly
    into the event data. This uses yul to not abi encode the log as `bytes`
    and instead place the calldata directly into the event data.
    
    The fact that there is no abi decoding done in the test shows that this
    is correct. Previously the abi decoding done in the test was not
    correct, we want the exact data in the log to be the calldata.
    
    * snapshots: update
    
    * semver-lock: regenerate
    6f8aec82
L2ToL2CrossDomainMessenger.t.sol 30.7 KB