From 0a8d9b3d427f83fb14180cad344247a9bb7b30a6 Mon Sep 17 00:00:00 2001 From: Tarek Mohamed Abdalla Date: Tue, 14 Jan 2025 14:25:03 +0200 Subject: [PATCH] fix: solidity pragma --- ts-tests/contracts/ECRecoverTests.sol | 2 +- ts-tests/contracts/ExplicitRevertReason.sol | 2 +- ts-tests/contracts/Test.sol | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ts-tests/contracts/ECRecoverTests.sol b/ts-tests/contracts/ECRecoverTests.sol index fa7e1cb52a..0e70945ad5 100644 --- a/ts-tests/contracts/ECRecoverTests.sol +++ b/ts-tests/contracts/ECRecoverTests.sol @@ -1,4 +1,4 @@ -pragma solidity 0.8.2; +pragma solidity >=0.8.2 <0.9.0; contract ECRecoverTests { function ecrecover(bytes memory input) public returns(bytes memory) { diff --git a/ts-tests/contracts/ExplicitRevertReason.sol b/ts-tests/contracts/ExplicitRevertReason.sol index 5691f55581..e7a8c64cf8 100644 --- a/ts-tests/contracts/ExplicitRevertReason.sol +++ b/ts-tests/contracts/ExplicitRevertReason.sol @@ -1,4 +1,4 @@ -pragma solidity 0.8.2; +pragma solidity >=0.8.2 <0.9.0; contract ExplicitRevertReason { function max10(uint256 a) public returns (uint256) { diff --git a/ts-tests/contracts/Test.sol b/ts-tests/contracts/Test.sol index 959fe88bd0..cec4645667 100644 --- a/ts-tests/contracts/Test.sol +++ b/ts-tests/contracts/Test.sol @@ -1,4 +1,4 @@ -pragma solidity 0.8.2; +pragma solidity >=0.8.2 <0.9.0; contract Test { function multiply(uint a) public pure returns(uint d) {