From 68f5beeec5b5e1db7b59be9c31df35cc93988c3b Mon Sep 17 00:00:00 2001 From: gabrielstoica Date: Wed, 24 Jul 2024 16:58:24 +0300 Subject: [PATCH] docs(test): update license --- test/Base.t.sol | 2 +- .../concrete/invoice-module/cancel-invoice/cancelInvoice.t.sol | 2 +- .../concrete/invoice-module/create-invoice/createInvoice.t.sol | 2 +- .../concrete/invoice-module/pay-invoice/payInvoice.t.sol | 2 +- .../withdraw-linear-stream/withdrawLinearStream.t.sol | 2 +- .../withdraw-tranched-stream/withdrawTranchedStream.t.sol | 2 +- test/integration/shared/cancelInvoice.t.sol | 2 +- test/integration/shared/createInvoice.t.sol | 2 +- test/integration/shared/payInvoice.t.sol | 2 +- test/integration/shared/withdrawLinearStream.t.sol | 2 +- test/integration/shared/withdrawTranchedStream.t.sol | 2 +- test/mocks/MockBadReceiver.sol | 2 +- test/mocks/MockERC20NoReturn.sol | 2 +- test/mocks/MockModule.sol | 2 +- test/mocks/MockNonCompliantContainer.sol | 2 +- test/unit/concrete/container/Container.t.sol | 2 +- test/unit/concrete/container/deposit-erc20/depositERC20.t.sol | 2 +- test/unit/concrete/container/enable-module/enableModule.t.sol | 2 +- test/unit/concrete/container/execute/execute.t.sol | 2 +- test/unit/concrete/container/receive/receive.t.sol | 2 +- test/unit/concrete/container/withdraw-erc20/withdrawERC20.t.sol | 2 +- .../concrete/container/withdraw-native/withdrawNative.t.sol | 2 +- test/unit/concrete/module-manager/ModuleManager.t.sol | 2 +- test/unit/concrete/module-manager/constructor/constructor.t.sol | 2 +- .../concrete/module-manager/enable-module/enableModule.t.sol | 2 +- test/utils/Errors.sol | 2 +- test/utils/Events.sol | 2 +- test/utils/Helpers.sol | 2 +- test/utils/Types.sol | 2 +- 29 files changed, 29 insertions(+), 29 deletions(-) diff --git a/test/Base.t.sol b/test/Base.t.sol index 6d1fe05e..4ce80941 100644 --- a/test/Base.t.sol +++ b/test/Base.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.20; import { Events } from "./utils/Events.sol"; diff --git a/test/integration/concrete/invoice-module/cancel-invoice/cancelInvoice.t.sol b/test/integration/concrete/invoice-module/cancel-invoice/cancelInvoice.t.sol index 77487ee9..e03d7510 100644 --- a/test/integration/concrete/invoice-module/cancel-invoice/cancelInvoice.t.sol +++ b/test/integration/concrete/invoice-module/cancel-invoice/cancelInvoice.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.26; import { CancelInvoice_Integration_Shared_Test } from "../../../shared/cancelInvoice.t.sol"; diff --git a/test/integration/concrete/invoice-module/create-invoice/createInvoice.t.sol b/test/integration/concrete/invoice-module/create-invoice/createInvoice.t.sol index 7c803321..02ce9567 100644 --- a/test/integration/concrete/invoice-module/create-invoice/createInvoice.t.sol +++ b/test/integration/concrete/invoice-module/create-invoice/createInvoice.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.26; import { CreateInvoice_Integration_Shared_Test } from "../../../shared/createInvoice.t.sol"; diff --git a/test/integration/concrete/invoice-module/pay-invoice/payInvoice.t.sol b/test/integration/concrete/invoice-module/pay-invoice/payInvoice.t.sol index 45ca0e63..4bf60b7d 100644 --- a/test/integration/concrete/invoice-module/pay-invoice/payInvoice.t.sol +++ b/test/integration/concrete/invoice-module/pay-invoice/payInvoice.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.26; import { PayInvoice_Integration_Shared_Test } from "../../../shared/payInvoice.t.sol"; diff --git a/test/integration/concrete/invoice-module/withdraw-linear-stream/withdrawLinearStream.t.sol b/test/integration/concrete/invoice-module/withdraw-linear-stream/withdrawLinearStream.t.sol index 546a5008..36fd6735 100644 --- a/test/integration/concrete/invoice-module/withdraw-linear-stream/withdrawLinearStream.t.sol +++ b/test/integration/concrete/invoice-module/withdraw-linear-stream/withdrawLinearStream.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.26; import { WithdrawLinearStream_Integration_Shared_Test } from "../../../shared/withdrawLinearStream.t.sol"; diff --git a/test/integration/concrete/invoice-module/withdraw-tranched-stream/withdrawTranchedStream.t.sol b/test/integration/concrete/invoice-module/withdraw-tranched-stream/withdrawTranchedStream.t.sol index 5718225e..60ec65b7 100644 --- a/test/integration/concrete/invoice-module/withdraw-tranched-stream/withdrawTranchedStream.t.sol +++ b/test/integration/concrete/invoice-module/withdraw-tranched-stream/withdrawTranchedStream.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.26; import { WithdrawTranchedStream_Integration_Shared_Test } from "../../../shared/withdrawTranchedStream.t.sol"; diff --git a/test/integration/shared/cancelInvoice.t.sol b/test/integration/shared/cancelInvoice.t.sol index e8cfcf23..c1762b0a 100644 --- a/test/integration/shared/cancelInvoice.t.sol +++ b/test/integration/shared/cancelInvoice.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.26; import { Integration_Test } from "../Integration.t.sol"; diff --git a/test/integration/shared/createInvoice.t.sol b/test/integration/shared/createInvoice.t.sol index bfb5f7f7..cc72b057 100644 --- a/test/integration/shared/createInvoice.t.sol +++ b/test/integration/shared/createInvoice.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.26; import { Integration_Test } from "../Integration.t.sol"; diff --git a/test/integration/shared/payInvoice.t.sol b/test/integration/shared/payInvoice.t.sol index 0a4658c4..ae51635a 100644 --- a/test/integration/shared/payInvoice.t.sol +++ b/test/integration/shared/payInvoice.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.26; import { Integration_Test } from "../Integration.t.sol"; diff --git a/test/integration/shared/withdrawLinearStream.t.sol b/test/integration/shared/withdrawLinearStream.t.sol index 094d7d0f..332414a0 100644 --- a/test/integration/shared/withdrawLinearStream.t.sol +++ b/test/integration/shared/withdrawLinearStream.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.26; import { Integration_Test } from "../Integration.t.sol"; diff --git a/test/integration/shared/withdrawTranchedStream.t.sol b/test/integration/shared/withdrawTranchedStream.t.sol index 128535b4..16aab536 100644 --- a/test/integration/shared/withdrawTranchedStream.t.sol +++ b/test/integration/shared/withdrawTranchedStream.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.26; import { Integration_Test } from "../Integration.t.sol"; diff --git a/test/mocks/MockBadReceiver.sol b/test/mocks/MockBadReceiver.sol index 3c166c17..676055ad 100644 --- a/test/mocks/MockBadReceiver.sol +++ b/test/mocks/MockBadReceiver.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.26; contract MockBadReceiver { diff --git a/test/mocks/MockERC20NoReturn.sol b/test/mocks/MockERC20NoReturn.sol index 6400d872..373f0f1b 100644 --- a/test/mocks/MockERC20NoReturn.sol +++ b/test/mocks/MockERC20NoReturn.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; /// @notice An implementation of ERC-20 standard forked from the OpenZeppelin v4 library that do not return a boolean upon calling {transferFrom} or {transfer} diff --git a/test/mocks/MockModule.sol b/test/mocks/MockModule.sol index 4d6ce138..70e97030 100644 --- a/test/mocks/MockModule.sol +++ b/test/mocks/MockModule.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity ^0.8.26; import { IERC165 } from "@openzeppelin/contracts/utils/introspection/IERC165.sol"; diff --git a/test/mocks/MockNonCompliantContainer.sol b/test/mocks/MockNonCompliantContainer.sol index cfdcccc6..f8db9ae5 100644 --- a/test/mocks/MockNonCompliantContainer.sol +++ b/test/mocks/MockNonCompliantContainer.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity ^0.8.26; import { ExcessivelySafeCall } from "@nomad-xyz/excessively-safe-call/src/ExcessivelySafeCall.sol"; diff --git a/test/unit/concrete/container/Container.t.sol b/test/unit/concrete/container/Container.t.sol index 4514beea..57f3e19d 100644 --- a/test/unit/concrete/container/Container.t.sol +++ b/test/unit/concrete/container/Container.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.26; import { Base_Test } from "../../../Base.t.sol"; diff --git a/test/unit/concrete/container/deposit-erc20/depositERC20.t.sol b/test/unit/concrete/container/deposit-erc20/depositERC20.t.sol index 789d676b..d65fc977 100644 --- a/test/unit/concrete/container/deposit-erc20/depositERC20.t.sol +++ b/test/unit/concrete/container/deposit-erc20/depositERC20.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.26; import { Container_Unit_Concrete_Test } from "../Container.t.sol"; diff --git a/test/unit/concrete/container/enable-module/enableModule.t.sol b/test/unit/concrete/container/enable-module/enableModule.t.sol index 716d7765..1b6eaea1 100644 --- a/test/unit/concrete/container/enable-module/enableModule.t.sol +++ b/test/unit/concrete/container/enable-module/enableModule.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.26; import { Container_Unit_Concrete_Test } from "../Container.t.sol"; diff --git a/test/unit/concrete/container/execute/execute.t.sol b/test/unit/concrete/container/execute/execute.t.sol index e4abeb15..c7935d8a 100644 --- a/test/unit/concrete/container/execute/execute.t.sol +++ b/test/unit/concrete/container/execute/execute.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.26; import { Container_Unit_Concrete_Test } from "../Container.t.sol"; diff --git a/test/unit/concrete/container/receive/receive.t.sol b/test/unit/concrete/container/receive/receive.t.sol index 17251798..30a00068 100644 --- a/test/unit/concrete/container/receive/receive.t.sol +++ b/test/unit/concrete/container/receive/receive.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.26; import { Container_Unit_Concrete_Test } from "../Container.t.sol"; diff --git a/test/unit/concrete/container/withdraw-erc20/withdrawERC20.t.sol b/test/unit/concrete/container/withdraw-erc20/withdrawERC20.t.sol index 0abbc9c7..bc47f1dc 100644 --- a/test/unit/concrete/container/withdraw-erc20/withdrawERC20.t.sol +++ b/test/unit/concrete/container/withdraw-erc20/withdrawERC20.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.26; import { Container_Unit_Concrete_Test } from "../Container.t.sol"; diff --git a/test/unit/concrete/container/withdraw-native/withdrawNative.t.sol b/test/unit/concrete/container/withdraw-native/withdrawNative.t.sol index caeda797..1a93a997 100644 --- a/test/unit/concrete/container/withdraw-native/withdrawNative.t.sol +++ b/test/unit/concrete/container/withdraw-native/withdrawNative.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.26; import { Container_Unit_Concrete_Test } from "../Container.t.sol"; diff --git a/test/unit/concrete/module-manager/ModuleManager.t.sol b/test/unit/concrete/module-manager/ModuleManager.t.sol index 99b65ff4..0df63eb3 100644 --- a/test/unit/concrete/module-manager/ModuleManager.t.sol +++ b/test/unit/concrete/module-manager/ModuleManager.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.26; import { Base_Test } from "../../../Base.t.sol"; diff --git a/test/unit/concrete/module-manager/constructor/constructor.t.sol b/test/unit/concrete/module-manager/constructor/constructor.t.sol index 890dc656..2201b581 100644 --- a/test/unit/concrete/module-manager/constructor/constructor.t.sol +++ b/test/unit/concrete/module-manager/constructor/constructor.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.26; import { Base_Test } from "../../../../Base.t.sol"; diff --git a/test/unit/concrete/module-manager/enable-module/enableModule.t.sol b/test/unit/concrete/module-manager/enable-module/enableModule.t.sol index 96e8d03a..c805c00b 100644 --- a/test/unit/concrete/module-manager/enable-module/enableModule.t.sol +++ b/test/unit/concrete/module-manager/enable-module/enableModule.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.26; import { ModuleManager_Unit_Concrete_Test } from "../ModuleManager.t.sol"; diff --git a/test/utils/Errors.sol b/test/utils/Errors.sol index 697f76d2..d8cd31f0 100644 --- a/test/utils/Errors.sol +++ b/test/utils/Errors.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity ^0.8.26; library Errors { diff --git a/test/utils/Events.sol b/test/utils/Events.sol index bd06a95f..cb6b9cc7 100644 --- a/test/utils/Events.sol +++ b/test/utils/Events.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity ^0.8.26; import { Types } from "./../../src/modules/invoice-module/libraries/Types.sol"; diff --git a/test/utils/Helpers.sol b/test/utils/Helpers.sol index 8367a7c3..6f2403f6 100644 --- a/test/utils/Helpers.sol +++ b/test/utils/Helpers.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity ^0.8.26; import { Types } from "./../../src/modules/invoice-module/libraries/Types.sol"; diff --git a/test/utils/Types.sol b/test/utils/Types.sol index fcff7518..fbdfe04e 100644 --- a/test/utils/Types.sol +++ b/test/utils/Types.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity ^0.8.26; struct Users {