Skip to content

Commit

Permalink
Change truffle config file to always use the right compielr version
Browse files Browse the repository at this point in the history
  • Loading branch information
GNSPS committed Jan 9, 2020
1 parent 1b55da7 commit 7727420
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -29,6 +29,6 @@
"truffle-hdwallet-provider": "1.0.6"
},
"devDependencies": {
"truffle": "^5.0.24"
"truffle": "latest"
}
}
5 changes: 5 additions & 0 deletions truffle.js
Expand Up @@ -40,5 +40,10 @@ module.exports = {
// port: 7545,
// network_id: "*" // Match any network id
// },
},
compilers: {
solc: {
version: "0.5.14", // A version or constraint - Ex. "^0.5.0"
}
}
};

0 comments on commit 7727420

Please sign in to comment.