File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -351,18 +351,6 @@ abstract contract Base7683 is IOriginSettler, IDestinationSettler {
351351
352352 // ============ Internal Functions ============
353353
354- /**
355- * @notice Computes the index of the bitmap and the bit position within the bitmap for a given nonce.
356- * @dev Used for unordered nonces to map a nonce to a specific word and bit position.
357- * @param _nonce The nonce to derive the word and bit positions.
358- * @return _wordPos The index of the bitmap in the nonce mapping.
359- * @return _bitPos The bit position within the bitmap word.
360- */
361- function bitmapPositions (uint256 _nonce ) private pure returns (uint256 _wordPos , uint256 _bitPos ) {
362- _wordPos = uint248 (_nonce >> 8 );
363- _bitPos = uint8 (_nonce);
364- }
365-
366354 /**
367355 * @notice Marks a nonce as used by setting its bit in the appropriate bitmap.
368356 * @dev Ensures that a nonce cannot be reused by flipping the corresponding bit in the bitmap.
You can’t perform that action at this time.
0 commit comments