Files
core/test/mocks/Helper.sol

21 lines
548 B
Solidity

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.15;
import {IFollowNFT} from 'contracts/interfaces/IFollowNFT.sol';
/**
* @dev This is a helper contract used for internal testing.
*
* NOTE: This contract is not meant to be deployed and is unsafe for use.
*/
contract Helper {
/**
* @dev This is a helper function that exposes the block number due to the inconsistency of
* fetching the block number from scripts.
*/
function getBlockNumber() external view returns (uint256) {
return block.number;
}
}