Previously, we used to have pragma solidity ^0.8.11 definition for ERC20Locker and Locker contracts. Even though the contract is being compiled via the Hardhat interface and the specific compiler version is defined in hardhat.config.js, it makes sense to add an extra precaution in the code to avoid deploying with the latest compiler by mistake.
Previously, we used to have
pragma solidity ^0.8.11
definition forERC20Locker
andLocker
contracts. Even though the contract is being compiled via the Hardhat interface and the specific compiler version is defined inhardhat.config.js
, it makes sense to add an extra precaution in the code to avoid deploying with the latest compiler by mistake.