Skip to content

Commit 44b147e

Browse files
committed
Use library directly from @iexec/poco npm package
1 parent 693fb24 commit 44b147e

File tree

7 files changed

+5
-110
lines changed

7 files changed

+5
-110
lines changed

packages/sharing-smart-contract/abis/libs/IexecLibOrders_v5.sol/IexecLibOrders_v5.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/sharing-smart-contract/contracts/interfaces/IDataProtectorSharing.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
******************************************************************************/
1818
pragma solidity ^0.8.24;
1919

20-
import {IexecLibOrders_v5} from "../libs/IexecLibOrders_v5.sol";
20+
import {IexecLibOrders_v5} from "@iexec/poco/contracts/libs/IexecLibOrders_v5.sol";
2121
import {ISubscription} from "./ISubscription.sol";
2222
import {ICollection} from "./ICollection.sol";
2323
import {IRental} from "./IRental.sol";

packages/sharing-smart-contract/contracts/interfaces/IExecPocoDelegate.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
******************************************************************************/
1818
pragma solidity ^0.8.24;
1919

20-
import {IexecLibOrders_v5} from "../libs/IexecLibOrders_v5.sol";
20+
import {IexecLibOrders_v5} from "@iexec/poco/contracts/libs/IexecLibOrders_v5.sol";
2121

2222
interface IExecPocoDelegate {
2323
/**

packages/sharing-smart-contract/contracts/libs/IexecLibOrders_v5.sol

Lines changed: 0 additions & 106 deletions
This file was deleted.

packages/sharing-smart-contract/package-lock.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/sharing-smart-contract/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
},
5151
"dependencies": {
5252
"@iexec/dataprotector-environments": "file:../../environments",
53+
"@iexec/poco": "^5.5.0",
5354
"@openzeppelin/contracts-upgradeable": "^5.3.0",
5455
"@openzeppelin/hardhat-upgrades": "^3.9.0",
5556
"ethers": "^6.11.1",

packages/sharing-smart-contract/test/invariant/Invariant.t.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {HandlerRenting} from "./handlers/HandlerRenting.sol";
1010
import {HandlerGlobal} from "./handlers/HandlerGlobal.sol";
1111
import {IAppRegistry, IApp} from "./interfaces/IAppRegistry.sol";
1212
import {IWorkerpoolRegistry, IWorkerpool} from "./interfaces/IWorkerpoolRegistry.sol";
13-
import {IexecLibOrders_v5} from "../../contracts/libs/IexecLibOrders_v5.sol";
13+
import {IexecLibOrders_v5} from "@iexec/poco/contracts/libs/IexecLibOrders_v5.sol";
1414
import {DataProtectorSharing} from "../../contracts/DataProtectorSharing.sol";
1515
import {IAddOnlyAppWhitelist} from "../../contracts/registry/AddOnlyAppWhitelistRegistry.sol";
1616

0 commit comments

Comments
 (0)