Update solc in truffle config
@@ -94,7 +94,7 @@ module.exports = {
// Configure your compilers
compilers: {
solc: {
- version: "0.4.25",
+ version: "0.5.10",
// version: "0.5.1", // Fetch exact version from solc-bin (default: truffle's version)
// docker: true, // Use "0.5.1" you've installed locally with docker (default: false)
settings: { // See the solidity docs for advice about optimization and evmVersion
