From 3c6f5eb025d743572d26480e24c19043336ae03d Mon Sep 17 00:00:00 2001 From: chriseth Date: Tue, 23 Feb 2021 10:34:40 +0100 Subject: [PATCH] Update example version. --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2eeda0dcb..e0c6b2a13 100644 --- a/README.md +++ b/README.md @@ -37,12 +37,13 @@ found in the [Solidity documentation](https://docs.soliditylang.org/en/latest/in A "Hello World" program in Solidity is of even less use than in other languages, but still: ```solidity -pragma solidity >=0.6.0 <0.8.0; +// SPDX-License-Identifier: MIT +pragma solidity >=0.6.0 <0.9.0; contract HelloWorld { - function helloWorld() external pure returns (string memory) { - return "Hello, World!"; - } + function helloWorld() external pure returns (string memory) { + return "Hello, World!"; + } } ```