diff --git a/.solhint.json b/.solhint.json index 16a5038c2..86a3b3ce4 100644 --- a/.solhint.json +++ b/.solhint.json @@ -3,7 +3,7 @@ "rules": { "quotes": ["error", "double"], "max-line-length": ["error", 200], - "compiler-version": ["error", "^0.8.0"], + "compiler-version": ["error", "^0.8.10"], "reason-string": ["warn", { "maxLength": 128 }], "not-rely-on-block-hash": "off", "not-rely-on-time": "off", diff --git a/saddle.config.js b/saddle.config.js index 5eac9058a..5c1258af2 100644 --- a/saddle.config.js +++ b/saddle.config.js @@ -1,9 +1,10 @@ module.exports = { - // solc: "solc", // Solc command to run + //solc: "solc@0.8.10", // Solc command to run solc_args: [ // Extra solc args '--allow-paths','contracts,tests/Contracts', - '--evm-version', 'istanbul' + '--evm-version', 'istanbul', + '--solidity-version', '0.8.10' ], solc_shell_args: { // Args passed to `exec`, see: maxBuffer: 1024 * 500000, // https://nodejs.org/api/child_process.html#child_process_child_process_spawn_command_args_options