Skip to content

Commit

Permalink
Update solidity to 0.8.21
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianBorst committed Aug 18, 2023
1 parent 4fe7d8f commit 3462135
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion solidity/contracts/TestERC20A.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.12; // Force solidity compliance
pragma solidity 0.8.21; // Force solidity compliance
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";

// One of three testing coins named "Bitcoin MAX" with symbol "MAX", the constructor mints tokens
Expand Down
2 changes: 1 addition & 1 deletion solidity/contracts/TestERC20B.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.12; // Force solidity compliance
pragma solidity 0.8.21; // Force solidity compliance
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";

// One of three testing coins named "2 Ethereum" with symbol "E2H", the constructor mints tokens
Expand Down
2 changes: 1 addition & 1 deletion solidity/contracts/TestERC20C.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.12; // Force solidity compliance
pragma solidity 0.8.21; // Force solidity compliance
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";

// One of three testing coins named "Byecoin" with symbol "BYE", the constructor mints tokens
Expand Down
2 changes: 1 addition & 1 deletion solidity/contracts/TestERC721A.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.12; // Force solidity compliance
pragma solidity 0.8.21; // Force solidity compliance
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";

// Generate NFTs with token ids 1-10 and 190-195
Expand Down
2 changes: 1 addition & 1 deletion solidity/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ task("accounts", "Prints the list of accounts", async (args, hre) => {
module.exports = {
// This is a sample solc configuration that specifies which version of solc to use
solidity: {
version: "0.8.12",
version: "0.8.21",
settings: {
optimizer: {
enabled: true
Expand Down

0 comments on commit 3462135

Please sign in to comment.