diff --git a/docs/learn/contracts-and-basic-functions/hello-world-step-by-step.mdx b/docs/learn/contracts-and-basic-functions/hello-world-step-by-step.mdx index 69242090c..6c6045f49 100644 --- a/docs/learn/contracts-and-basic-functions/hello-world-step-by-step.mdx +++ b/docs/learn/contracts-and-basic-functions/hello-world-step-by-step.mdx @@ -47,7 +47,7 @@ If you don't want to give a license, you can put `UNLICENSED`. Common open sourc Below the license identifier, you need to specify which [version] of Solidity the compiler should use to compile your code. If by the time you read this, the version has advanced, you should try to use the most current version. Doing so may cause you to run into unexpected errors, but it's great practice for working in real-world conditions! ```Solidity -pragma solidity 0.8.17; +pragma solidity 0.8.20; ``` Finally, add a `contract` called `HelloWorld`. You should end up with: @@ -55,7 +55,7 @@ Finally, add a `contract` called `HelloWorld`. You should end up with: ```Solidity // SPDX-License-Identifier: MIT -pragma solidity 0.8.17; +pragma solidity 0.8.20; contract HelloWorld { @@ -168,7 +168,7 @@ Deploy and test your contract. You should get a _decoded output_ with: ```solidity // SPDX-License-Identifier: MIT -pragma solidity 0.8.17; +pragma solidity 0.8.20; contract HelloWorld { diff --git a/docs/learn/hardhat/hardhat-forking/hardhat-forking.mdx b/docs/learn/hardhat/hardhat-forking/hardhat-forking.mdx index 120159e05..5c755f48f 100644 --- a/docs/learn/hardhat/hardhat-forking/hardhat-forking.mdx +++ b/docs/learn/hardhat/hardhat-forking/hardhat-forking.mdx @@ -49,7 +49,7 @@ Those won't be covered in this guide, however it's recommended to explore them a The BalanceReader contract is created as follows: ```tsx -pragma solidity 0.8.9; +pragma solidity 0.8.20; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; diff --git a/docs/learn/mappings/mappings-sbs.mdx b/docs/learn/mappings/mappings-sbs.mdx index cbb349382..835f72d29 100644 --- a/docs/learn/mappings/mappings-sbs.mdx +++ b/docs/learn/mappings/mappings-sbs.mdx @@ -171,7 +171,7 @@ You should end up with a contract similar to this: ```solidity -pragma solidity 0.8.17; +pragma solidity 0.8.20; contract Mappings { mapping (address => uint) public favoriteNumbers;