Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit 1af9333

Browse files
Merge pull request #4371 from trufflesuite/solc-version-4364
Updated default solidity compiler version in truffle init to 0.8.9
2 parents 08164fc + 87010f1 commit 1af9333

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/lib/commands/init/initSource/truffle-config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ module.exports = {
8181
// Configure your compilers
8282
compilers: {
8383
solc: {
84-
// version: "0.5.1", // Fetch exact version from solc-bin (default: truffle's version)
84+
version: "0.8.9", // Fetch exact version from solc-bin (default: truffle's version)
8585
// docker: true, // Use "0.5.1" you've installed locally with docker (default: false)
8686
// settings: { // See the solidity docs for advice about optimization and evmVersion
8787
// optimizer: {

0 commit comments

Comments
 (0)