Skip to content

Commit

Permalink
fix: misleading doc
Browse files Browse the repository at this point in the history
  • Loading branch information
capedcrusader21 committed Sep 16, 2024
1 parent b10622c commit 2d14f8d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/marketplace/contracts/TransferManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -658,8 +658,7 @@ abstract contract TransferManager is Initializable, ITransferManager {
/// @param size The size of the quad
/// @param x The bottom left x coordinate of the quad
/// @param y The bottom left y coordinate of the quad
/// @return the tokenId of the quad
/// @dev this method is gas optimized, must be called with verified x,y and size, after a call to _isValidQuad
/// @return tokenId of the quad
function idInPath(uint256 i, uint256 size, uint256 x, uint256 y) internal pure returns (uint256) {
unchecked {
return (x + (i % size)) + (y + (i / size)) * GRID_SIZE;
Expand Down

1 comment on commit 2d14f8d

@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.21%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
packages/marketplace/contracts
   Exchange.sol94.52%93.33%94.44%96%127, 195, 73
   ExchangeCore.sol98.84%96.67%100%100%81
   OrderValidator.sol98.44%96.15%100%100%36
   RoyaltiesRegistry.sol96.32%88.89%100%98.78%194, 216–217, 263, 65
   TransferManager.sol96.04%87.50%100%99.41%163, 225, 247, 333, 393, 430, 581, 586, 597, 619, 93
   Whitelist.sol75.81%60%85.71%82.14%105, 109–110, 123, 126, 142–143, 55, 67, 67–68, 72, 77
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.