Closed RayXpub closed 1 month ago
62190cf
during Solidity Foundry #8163Summary coverage rate: lines......: 97.7% (2203 of 2256 lines) functions..: 94.5% (411 of 435 functions) branches...: 93.4% (525 of 562 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 standardize the message hashing functions. Currently we have equivalent but inconsistent message hashing functions:
and
Solution
Standardize to
function _hash(message, metadataHash)
and consistently encode dynamic fields.