Near-One / rainbow-token-connector

ERC-20/NEP-141 Token Connector for Rainbow Bridge
62 stars 18 forks source link

ERC20 connector: lock pragma to Solidity v0.8.11 #180

Open sept-en opened 1 year ago

sept-en commented 1 year ago

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.