Starting with version 0.8.4, Solidity has the bytes.concat
function which can concatenate an arbitrary number of bytes
or bytes1
... bytes32
values. The function returns a single bytes memory
array that contains the contents of the arguments without padding. See The functions bytes.concat and string.concat.
There is 1 instance of this issue.
File Link | Instance Count | Instance Link |
---|---|---|
EscrowFactory.sol | 1 | 76 |
Decreased readability/maintainability of project source code.
baudit: a custom static code analysis tool; manual review
For clearer semantics, when concatenating bytes
, use bytes.concat()
rather than abi.encodePacked()
.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.