Skip to content

Commit e47b495

Browse files
committed
chore: added support for solc versions 0.8.28
1 parent 97365ef commit e47b495

File tree

17 files changed

+34
-14
lines changed

17 files changed

+34
-14
lines changed

.changeset/silly-flowers-tickle.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"hardhat": patch
3+
---
4+
5+
Added support for solc versions 0.8.28

docs/src/content/hardhat-runner/docs/reference/solidity-support.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ These are the versions of Solidity that you can expect to fully work with Hardha
1313
- Any 0.5.x version starting from 0.5.1
1414
- Any 0.6.x version
1515
- Any 0.7.x version
16-
- Any 0.8.x version up to and including 0.8.27
16+
- Any 0.8.x version up to and including 0.8.28
1717

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

docs/src/model/markdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export const withoutComments = (content: string) => {
104104
};
105105

106106
export const replacePlaceholders = (content: string) => {
107-
const recommendedSolcVersion = "0.8.27";
107+
const recommendedSolcVersion = "0.8.28";
108108
const latestPragma = "^0.8.0";
109109
const hardhatPackageJson = fs
110110
.readFileSync(

packages/hardhat-core/sample-projects/javascript-esm/contracts/Lock.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: UNLICENSED
2-
pragma solidity ^0.8.27;
2+
pragma solidity ^0.8.28;
33

44
// Uncomment this line to use console.log
55
// import "hardhat/console.sol";

packages/hardhat-core/sample-projects/javascript-esm/hardhat.config.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ require("@nomicfoundation/hardhat-toolbox");
22

33
/** @type import('hardhat/config').HardhatUserConfig */
44
module.exports = {
5-
solidity: "0.8.27",
5+
solidity: "0.8.28",
66
};

packages/hardhat-core/sample-projects/javascript/contracts/Lock.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: UNLICENSED
2-
pragma solidity ^0.8.27;
2+
pragma solidity ^0.8.28;
33

44
// Uncomment this line to use console.log
55
// import "hardhat/console.sol";

packages/hardhat-core/sample-projects/javascript/hardhat.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ require("@nomicfoundation/hardhat-toolbox");
22

33
/** @type import('hardhat/config').HardhatUserConfig */
44
module.exports = {
5-
solidity: "0.8.27",
5+
solidity: "0.8.28",
66
};

packages/hardhat-core/sample-projects/typescript-viem/contracts/Lock.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: UNLICENSED
2-
pragma solidity ^0.8.27;
2+
pragma solidity ^0.8.28;
33

44
// Uncomment this line to use console.log
55
// import "hardhat/console.sol";

packages/hardhat-core/sample-projects/typescript-viem/hardhat.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { HardhatUserConfig } from "hardhat/config";
22
import "@nomicfoundation/hardhat-toolbox-viem";
33

44
const config: HardhatUserConfig = {
5-
solidity: "0.8.27",
5+
solidity: "0.8.28",
66
};
77

88
export default config;

packages/hardhat-core/sample-projects/typescript/contracts/Lock.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: UNLICENSED
2-
pragma solidity ^0.8.27;
2+
pragma solidity ^0.8.28;
33

44
// Uncomment this line to use console.log
55
// import "hardhat/console.sol";

0 commit comments

Comments
 (0)