Skip to content

Commit

Permalink
Support Solidity 0.8.16
Browse files Browse the repository at this point in the history
  • Loading branch information
feuGeneA committed Aug 9, 2022
1 parent 4062386 commit 1ce4e8b
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ These are the versions of Solidity that you can expect to fully work with Hardha
- Any 0.5.x version starting from 0.5.1
- Any 0.6.x version
- Any 0.7.x version
- Any 0.8.x version up to and including 0.8.15
- Any 0.8.x version up to and including 0.8.16

We recommend against using Hardhat with newer, unsupported versions of Solidity. But if you need to do so; please read on.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import {
StackTraceEntryType,
} from "./solidity-stack-trace";

export const SUPPORTED_SOLIDITY_VERSION_RANGE = "<=0.8.15";
export const SUPPORTED_SOLIDITY_VERSION_RANGE = "<=0.8.16";
export const FIRST_SOLC_VERSION_SUPPORTED = "0.5.1";

export class SolidityTracer {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ module.exports = {
solidity: {
compilers: [
{
version: "0.8.16",
version: "0.8.17",
},
{
version: "0.8.17",
version: "0.8.18",
},
],
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
solidity: "0.8.16",
solidity: "0.8.17",
};
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = {
},
],
overrides: {
"contracts/Foo.sol": { version: "0.8.16" },
"contracts/Foo.sol": { version: "0.8.17" },
},
},
};
Original file line number Diff line number Diff line change
Expand Up @@ -781,6 +781,10 @@ const solidityCompilers = [
solidityVersion: "0.8.15",
compilerPath: "soljson-v0.8.15+commit.e14f2714.js",
},
{
solidityVersion: "0.8.16",
compilerPath: "soljson-v0.8.16+commit.07a7930e.js",
},
];

const solidity05Compilers = solidityCompilers.filter(({ solidityVersion }) =>
Expand Down

0 comments on commit 1ce4e8b

Please sign in to comment.