From 3297fb152d7b9f8dfe66aea242771d1431e47247 Mon Sep 17 00:00:00 2001 From: Seun Lanlege Date: Fri, 13 Sep 2024 10:25:18 +0000 Subject: [PATCH] downgrade to v0.8.17 --- interfaces/IConsensusClient.sol | 2 +- interfaces/IDispatcher.sol | 2 +- interfaces/IHandler.sol | 2 +- interfaces/IIsmpHost.sol | 2 +- interfaces/IIsmpModule.sol | 2 +- interfaces/Message.sol | 2 +- interfaces/StateMachine.sol | 2 +- package.json | 4 ++-- yarn.lock | 8 ++++---- 9 files changed, 13 insertions(+), 13 deletions(-) diff --git a/interfaces/IConsensusClient.sol b/interfaces/IConsensusClient.sol index 19167de..de22f4d 100644 --- a/interfaces/IConsensusClient.sol +++ b/interfaces/IConsensusClient.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity 0.8.20; +pragma solidity 0.8.17; // The state commiment identifies a commiment to some intermediate state in the state machine. // This contains some metadata about the state machine like it's own timestamp at the time of this commitment. diff --git a/interfaces/IDispatcher.sol b/interfaces/IDispatcher.sol index 8c27d4a..08b9521 100644 --- a/interfaces/IDispatcher.sol +++ b/interfaces/IDispatcher.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity 0.8.20; +pragma solidity 0.8.17; import {StateMachineHeight} from "./IConsensusClient.sol"; import {PostRequest} from "./Message.sol"; diff --git a/interfaces/IHandler.sol b/interfaces/IHandler.sol index a3b9f7e..a1888eb 100644 --- a/interfaces/IHandler.sol +++ b/interfaces/IHandler.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity 0.8.20; +pragma solidity 0.8.17; import {IIsmpHost} from "./IIsmpHost.sol"; import {PostRequestMessage, PostResponseMessage, GetResponseMessage, PostRequestTimeoutMessage, PostResponseTimeoutMessage, GetTimeoutMessage} from "./Message.sol"; diff --git a/interfaces/IIsmpHost.sol b/interfaces/IIsmpHost.sol index d87fae1..4d90672 100644 --- a/interfaces/IIsmpHost.sol +++ b/interfaces/IIsmpHost.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity 0.8.20; +pragma solidity 0.8.17; import {StateCommitment, StateMachineHeight} from "./IConsensusClient.sol"; import {IDispatcher} from "./IDispatcher.sol"; diff --git a/interfaces/IIsmpModule.sol b/interfaces/IIsmpModule.sol index 6904b54..1825db3 100644 --- a/interfaces/IIsmpModule.sol +++ b/interfaces/IIsmpModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity 0.8.20; +pragma solidity 0.8.17; import {PostRequest, PostResponse, GetResponse, GetRequest} from "./Message.sol"; import {DispatchPost, DispatchPostResponse, DispatchGet} from "./IDispatcher.sol"; diff --git a/interfaces/Message.sol b/interfaces/Message.sol index 5843a58..612a50a 100644 --- a/interfaces/Message.sol +++ b/interfaces/Message.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity 0.8.20; +pragma solidity 0.8.17; import {StateMachineHeight} from "./IConsensusClient.sol"; import {StorageValue} from "@polytope-labs/solidity-merkle-trees/src/Types.sol"; diff --git a/interfaces/StateMachine.sol b/interfaces/StateMachine.sol index 66ee880..2a5c19d 100644 --- a/interfaces/StateMachine.sol +++ b/interfaces/StateMachine.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity 0.8.20; +pragma solidity 0.8.17; import {Strings} from "@openzeppelin/contracts/utils/Strings.sol"; diff --git a/package.json b/package.json index 29ea0eb..32ee01b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@polytope-labs/ismp-solidity", - "version": "0.6.4", + "version": "0.6.6", "description": "Hyperbridge Solidity SDK for the Interoperable state machine protocol", "author": "Polytope Labs ", "license": "Apache-2.0", @@ -28,7 +28,7 @@ "bridges" ], "dependencies": { - "@polytope-labs/solidity-merkle-trees": "^0.3.2", + "@polytope-labs/solidity-merkle-trees": "^0.3.3", "openzeppelin-solidity": "^4.8.1", "prettier": "^3.3.3", "prettier-plugin-solidity": "^1.3.1" diff --git a/yarn.lock b/yarn.lock index ac17c3c..fafe52d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,10 +2,10 @@ # yarn lockfile v1 -"@polytope-labs/solidity-merkle-trees@^0.3.2": - version "0.3.2" - resolved "https://registry.yarnpkg.com/@polytope-labs/solidity-merkle-trees/-/solidity-merkle-trees-0.3.2.tgz#3698e30ebf44fab2e32fbbe31c5dfba8618c7e4c" - integrity sha512-Zrh12nLkDOkydwaZOya7uo4zeX7PUGEKcxd14O0dFeg0TPyNWQaYZy3tw6XEovfyJOaJYu3Asgc971L6FrscLg== +"@polytope-labs/solidity-merkle-trees@^0.3.3": + version "0.3.3" + resolved "https://registry.yarnpkg.com/@polytope-labs/solidity-merkle-trees/-/solidity-merkle-trees-0.3.3.tgz#04c3b107d6bf6ad72c4908f98ea4104edcd406c1" + integrity sha512-WXaX/bKn/lNKFTL2nhZu9m/VMMxHQ+joeMY4IYPLjhgcLLyp009/zCho2du513JADLLp+S9NzaEz4blM4Y6/pw== dependencies: openzeppelin-solidity "^4.8.1"