ethereum/contracts/common/AllowList.sol
- https://github.com/code-423n4/2022-10-zksync/blob/main/ethereum/contracts/common/AllowList.sol#L144
- https://github.com/code-423n4/2022-10-zksync/blob/main/ethereum/contracts/common/AllowList.sol#L157
Recommend adding else
branch with error messages
else {
revert sameOwner();
}
else {
revert samePendingOwner();
}
zksync/contracts/bridge/L2ERC20Bridge.sol
Recommend using version ^0.8.12 and changing to bytes.concat