Closed code423n4 closed 2 years ago
Those reverts do appear to be intentionally included.
The new solc version was published when this contest was being posted so I think that was just a timing thing -- they later did perform the upgrade.
Since this feedback does not appear helpful, closing as invalid.
Agree with judge
Low
Revert if additionalRecipientAmount is 0 ERC20
If
additionalRecipient.amount == 0
, the _transferERC20 call will revert. Not sure if it is intended, seemed unnecessary.https://github.com/code-423n4/2022-05-opensea-seaport/blob/4140473b1f85d0df602548ad260b1739ddd734a5/contracts/lib/BasicOrderFulfiller.sol#L1054-L1061
https://github.com/code-423n4/2022-05-opensea-seaport/blob/4140473b1f85d0df602548ad260b1739ddd734a5/contracts/lib/Executor.sol#L260-L269
Revert if additionalRecipientAmount is 0 ETH
If
additionalRecipient.amount == 0
, the _transferEth call will revert. Not sure if it is intended, seemed unnecessary.https://github.com/code-423n4/2022-05-opensea-seaport/blob/4140473b1f85d0df602548ad260b1739ddd734a5/contracts/lib/BasicOrderFulfiller.sol#L963-L966
https://github.com/code-423n4/2022-05-opensea-seaport/blob/4140473b1f85d0df602548ad260b1739ddd734a5/contracts/lib/Executor.sol#L222-L224
Non-Critical
Upgrade to latest Solidity
Consider upgrade to 0.8.14 released on 2022-05-17, but can be risky since a lot of low level assembly and compiler dependent behavior is used.