taiko-mono icon indicating copy to clipboard operation
taiko-mono copied to clipboard

feat(protocol): allow only a specified processor to process message

Open dantaik opened this issue 9 months ago • 1 comments

Previously a bridged message can be processed by any address on the destination chain unless the specified message.gasLimit is 0.

Now the bridge can be configured with a specific "processor" address, and if message.gasLimit is not 0, only the message.destOwner and this processor can process the bridged message. This can avoid most racing conditions.

This change is backward compatible, but I actually prefer this change: https://github.com/taikoxyz/taiko-mono/pull/16999. If this PR got merged, all previous messages sent won't be processable or recallable.

dantaik avatar May 05 '24 13:05 dantaik

feat(protocol): allow only a specified processor to process message

Generated at commit: 0b34be7f053af9625b9df6c8340fc4fa9d29c55f

🚨 Report Summary

Severity Level Results
Contracts Critical High Medium Low Note Total 2 2 0 5 41 50
Dependencies Critical High Medium Low Note Total 0 0 0 0 0 0

For more details view the full report in OpenZeppelin Code Inspector

openzeppelin-code[bot] avatar May 05 '24 13:05 openzeppelin-code[bot]