@ -1,7 +1,7 @@
{
"extends": "solhint:recommended",
"rules": {
"compiler-version": ["error","^0.7.5"],
"compiler-version": ["error","~0.8.0"],
"func-visibility": ["warn",{"ignoreConstructors" : true}],
"not-rely-on-time": "off",
"state-visibility": "off"
@ -1,6 +1,5 @@
//SPDX-License-Identifier: MIT
pragma solidity 0.7.5;
pragma experimental ABIEncoderV2;
pragma solidity 0.8.0;
contract Forum {
// Error messages for require()
@ -1,5 +1,5 @@
contract Migrations {
address public owner;
import "./Forum.sol";
import "truffle/Assert.sol";
import "truffle/DeployedAddresses.sol";
@ -10,7 +10,7 @@ module.exports = {
// to customize your Truffle configuration!
compilers: {
solc: {
version: '0.7.5',
version: '0.8.0',
},
contracts_build_directory: path.join(__dirname, 'build/'),