taikoxyz / taiko-mono

A based rollup. 🥁
https://taiko.xyz
MIT License
4.16k stars 1.99k forks source link

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

Closed dantaik closed 1 week ago

dantaik commented 1 week ago

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.gasLimitis not 0, only the message.destOwnerand 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.

openzeppelin-code[bot] commented 1 week ago

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