From ca4929893192fc1568ad693b9c7e43d3b59ef27c Mon Sep 17 00:00:00 2001 From: Hamdi Allam Date: Mon, 13 Feb 2023 23:47:26 -0500 Subject: [PATCH] support solidity 0.8.18 (#22) --- Changelog.md | 4 ++++ contracts/Helper.sol | 2 +- contracts/Migrations.sol | 2 +- contracts/RLPReader.sol | 2 +- package.json | 2 +- truffle-config.js | 2 +- 6 files changed, 9 insertions(+), 5 deletions(-) diff --git a/Changelog.md b/Changelog.md index 28697f8..843ec42 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,5 +1,9 @@ # Changelog +## 2.0.7 +### Changed +- Extended Solidity support to v0.8.18 + ## 2.0.6 ### Changed - Extended Solidity support to v0.8.17 diff --git a/contracts/Helper.sol b/contracts/Helper.sol index 1939db6..59d7c17 100644 --- a/contracts/Helper.sol +++ b/contracts/Helper.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity >=0.5.0 <0.8.17; +pragma solidity >=0.5.0 <=0.8.18; /* * Used to proxy function calls to the RLPReader for testing diff --git a/contracts/Migrations.sol b/contracts/Migrations.sol index 0575669..4a6d6ac 100644 --- a/contracts/Migrations.sol +++ b/contracts/Migrations.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 -pragma solidity >=0.5.0 <0.8.17; +pragma solidity >=0.5.0 <=0.8.18; contract Migrations { address public owner; diff --git a/contracts/RLPReader.sol b/contracts/RLPReader.sol index 03985e7..41ec8a6 100644 --- a/contracts/RLPReader.sol +++ b/contracts/RLPReader.sol @@ -4,7 +4,7 @@ * @author Hamdi Allam hamdi.allam97@gmail.com * Please reach out with any questions or concerns */ -pragma solidity >=0.5.10 <0.8.17; +pragma solidity >=0.5.10 <=0.8.18; library RLPReader { uint8 constant STRING_SHORT_START = 0x80; diff --git a/package.json b/package.json index d9a65a2..e3fab47 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "solidity-rlp", "author": "Hamdi Allam", - "version": "2.0.6", + "version": "2.0.7", "description": "solidity rlp encoder/decoder", "keywords": [ "solidity", diff --git a/truffle-config.js b/truffle-config.js index a47f284..66f91ce 100644 --- a/truffle-config.js +++ b/truffle-config.js @@ -10,7 +10,7 @@ module.exports = { }, compilers: { solc: { - version: "<0.8.17" + version: "0.8.18" } } };