Closed RayXpub closed 1 month ago
77db94d
during Solidity Foundry #8024Summary coverage rate: lines......: 97.6% (2154 of 2206 lines) functions..: 94.9% (408 of 430 functions) branches...: 93.4% (512 of 548 branches) Files changed coverage rate: n/a
Issues
0 New issues
0 Fixed issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
No data about Duplication
Motivation
The goal of this PR is to add an extra check in the execute function to enforce that the report source chain selector matches its messages source chain selector. Extra gas cost is about 50 gas per message.
Solution
Revert when
report.sourceChainSelector != (message.header.sourceChainSelector