Skip to content

Commit

Permalink
Refactor: Remove duplicate interface check
Browse files Browse the repository at this point in the history
  • Loading branch information
capedcrusader21 committed Aug 16, 2024
1 parent 8417602 commit 98841ea
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/land/contracts/common/LandBase.sol
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,6 @@ abstract contract LandBase is
/// @return True if the interface is supported
function supportsInterface(bytes4 interfaceId) public pure override returns (bool) {
return
interfaceId == type(ILandToken).interfaceId ||
interfaceId == type(IERC721).interfaceId ||
interfaceId == type(IERC721BatchOps).interfaceId ||
interfaceId == type(IERC721Metadata).interfaceId ||
Expand Down

1 comment on commit 98841ea

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage for this commit

98.01%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
packages/marketplace/contracts
   Exchange.sol94.52%93.33%94.44%96%126, 194, 72
   ExchangeCore.sol98.85%96.67%100%100%85
   OrderValidator.sol96.83%92.86%100%100%110, 36
   RoyaltiesRegistry.sol96.32%88.89%100%98.78%194, 216–217, 263, 65
   TransferManager.sol94.86%84.85%100%99.23%150, 181, 191, 239, 379, 385, 400, 412–413, 424, 93
   Whitelist.sol75.81%60%85.71%82.14%104, 108–109, 122, 125, 141–142, 54, 66, 66–67, 71, 76
packages/marketplace/contracts/interfaces
   IOrderValidator.sol100%100%100%100%
   IRoyaltiesProvider.sol100%100%100%100%
   ITransferManager.sol100%100%100%100%
   IWhitelist.sol100%100%100%100%
packages/marketplace/contracts/libraries
   LibAsset.sol100%100%100%100%
   LibMath.sol100%100%100%100%
   LibOrder.sol100%100%100%100%

Please sign in to comment.