From 87ba7ca49440aa404de85df61f9403a3a49312ae Mon Sep 17 00:00:00 2001 From: Denis Kolegov Date: Thu, 3 Aug 2023 16:36:44 +0300 Subject: [PATCH] Add licenses (#175) * Add licenses * Fix license combination --------- Co-authored-by: Jorge Soares <547492+jsoares@users.noreply.github.com> --- LICENSE-APACHE | 5 +++++ LICENSE-MIT | 19 +++++++++++++++++++ scripts/Deployer.sol | 2 +- src/GatewayDiamond.sol | 2 +- src/SubnetActorDiamond.sol | 2 +- src/SubnetRegistry.sol | 2 +- src/constants/Constants.sol | 2 +- src/enums/ConsensusType.sol | 2 +- src/enums/IPCMsgType.sol | 2 +- src/enums/Status.sol | 2 +- src/enums/VoteExecutionStatus.sol | 2 +- src/errors/IPCErrors.sol | 2 +- src/gateway/GatewayGetterFacet.sol | 2 +- src/gateway/GatewayManagerFacet.sol | 2 +- src/gateway/GatewayRouterFacet.sol | 2 +- src/interfaces/IDiamond.sol | 2 +- src/interfaces/IDiamondCut.sol | 2 +- src/interfaces/IGateway.sol | 2 +- src/interfaces/ISubnetActor.sol | 2 +- src/lib/AccountHelper.sol | 2 +- src/lib/CheckpointHelper.sol | 2 +- src/lib/CrossMsgHelper.sol | 2 +- src/lib/EpochVoteSubmissionHelper.sol | 2 +- src/lib/ExecutableQueueHelper.sol | 2 +- src/lib/FvmAddressHelper.sol | 2 +- src/lib/LibDiamond.sol | 2 +- src/lib/LibGateway.sol | 2 +- src/lib/LibGatewayActorStorage.sol | 2 +- src/lib/LibReentrancyGuard.sol | 2 +- src/lib/LibSubnetActorStorage.sol | 2 +- src/lib/LibVoting.sol | 2 +- src/lib/StorableMsgHelper.sol | 2 +- src/lib/SubnetIDHelper.sol | 2 +- src/structs/Checkpoint.sol | 2 +- src/structs/EpochVoteSubmission.sol | 2 +- src/structs/ExecutableQueue.sol | 2 +- src/structs/FvmAddress.sol | 2 +- src/structs/Subnet.sol | 2 +- src/structs/Validator.sol | 2 +- src/subnet/SubnetActorGetterFacet.sol | 2 +- src/subnet/SubnetActorManagerFacet.sol | 2 +- test/AccountHelper.t.sol | 2 +- test/CheckpointHelper.t.sol | 2 +- test/CrossMsgHelper.t.sol | 2 +- test/EpochVoteSubmissionHelper.t.sol | 2 +- test/ExecutableQueueHelper.t.sol | 2 +- test/FvmAddressHelper.t.sol | 2 +- test/GatewayDiamond.t.sol | 2 +- test/LibVoting.t.sol | 2 +- test/StorableMsgHelper.t.sol | 2 +- test/SubnetActorDiamond.t.sol | 2 +- test/SubnetIDHelper.t.sol | 2 +- test/SubnetRegistry.t.sol | 2 +- test/TestUtils.sol | 2 +- 54 files changed, 76 insertions(+), 52 deletions(-) create mode 100644 LICENSE-APACHE create mode 100644 LICENSE-MIT diff --git a/LICENSE-APACHE b/LICENSE-APACHE new file mode 100644 index 000000000..4c83a2841 --- /dev/null +++ b/LICENSE-APACHE @@ -0,0 +1,5 @@ +Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. \ No newline at end of file diff --git a/LICENSE-MIT b/LICENSE-MIT new file mode 100644 index 000000000..749aa1ecd --- /dev/null +++ b/LICENSE-MIT @@ -0,0 +1,19 @@ +The MIT License (MIT) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. \ No newline at end of file diff --git a/scripts/Deployer.sol b/scripts/Deployer.sol index 3649ddaa5..2652ca0dd 100644 --- a/scripts/Deployer.sol +++ b/scripts/Deployer.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; import { EMPTY_BYTES } from "../src/constants/Constants.sol"; diff --git a/src/GatewayDiamond.sol b/src/GatewayDiamond.sol index a93862e15..8e247e874 100644 --- a/src/GatewayDiamond.sol +++ b/src/GatewayDiamond.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; import {GatewayActorStorage} from "./lib/LibGatewayActorStorage.sol"; diff --git a/src/SubnetActorDiamond.sol b/src/SubnetActorDiamond.sol index 478d0aa13..955a5a037 100644 --- a/src/SubnetActorDiamond.sol +++ b/src/SubnetActorDiamond.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; import {SubnetActorStorage} from "./lib/LibSubnetActorStorage.sol"; diff --git a/src/SubnetRegistry.sol b/src/SubnetRegistry.sol index 3fe191f4a..36412831b 100644 --- a/src/SubnetRegistry.sol +++ b/src/SubnetRegistry.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; import {SubnetActorDiamond} from "./SubnetActorDiamond.sol"; diff --git a/src/constants/Constants.sol b/src/constants/Constants.sol index 10d1d4d38..63b5c0301 100644 --- a/src/constants/Constants.sol +++ b/src/constants/Constants.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; address constant BURNT_FUNDS_ACTOR = address(99); diff --git a/src/enums/ConsensusType.sol b/src/enums/ConsensusType.sol index 4a4849646..976dd5e2c 100644 --- a/src/enums/ConsensusType.sol +++ b/src/enums/ConsensusType.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; /// @title Subnet Consensus Type enum diff --git a/src/enums/IPCMsgType.sol b/src/enums/IPCMsgType.sol index c11a32178..c9e59fd18 100644 --- a/src/enums/IPCMsgType.sol +++ b/src/enums/IPCMsgType.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; /// @title IPC Message type enum diff --git a/src/enums/Status.sol b/src/enums/Status.sol index f613e482d..4130463a3 100644 --- a/src/enums/Status.sol +++ b/src/enums/Status.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; /// @title Subnet Status enum diff --git a/src/enums/VoteExecutionStatus.sol b/src/enums/VoteExecutionStatus.sol index 5c14dee92..73bff2a7d 100644 --- a/src/enums/VoteExecutionStatus.sol +++ b/src/enums/VoteExecutionStatus.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; enum VoteExecutionStatus { diff --git a/src/errors/IPCErrors.sol b/src/errors/IPCErrors.sol index 2f9da2493..84486a87b 100644 --- a/src/errors/IPCErrors.sol +++ b/src/errors/IPCErrors.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; error AlreadyInitialized(); diff --git a/src/gateway/GatewayGetterFacet.sol b/src/gateway/GatewayGetterFacet.sol index 6e575692d..699028742 100644 --- a/src/gateway/GatewayGetterFacet.sol +++ b/src/gateway/GatewayGetterFacet.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; import {Status} from "../enums/Status.sol"; diff --git a/src/gateway/GatewayManagerFacet.sol b/src/gateway/GatewayManagerFacet.sol index 9f141c3e5..04e776e05 100644 --- a/src/gateway/GatewayManagerFacet.sol +++ b/src/gateway/GatewayManagerFacet.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; import {GatewayActorModifiers} from "../lib/LibGatewayActorStorage.sol"; diff --git a/src/gateway/GatewayRouterFacet.sol b/src/gateway/GatewayRouterFacet.sol index c725828f3..cb9bbaa96 100644 --- a/src/gateway/GatewayRouterFacet.sol +++ b/src/gateway/GatewayRouterFacet.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; import {GatewayActorModifiers} from "../lib/LibGatewayActorStorage.sol"; diff --git a/src/interfaces/IDiamond.sol b/src/interfaces/IDiamond.sol index 106d44bed..0e6f90dcb 100644 --- a/src/interfaces/IDiamond.sol +++ b/src/interfaces/IDiamond.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; interface IDiamond { diff --git a/src/interfaces/IDiamondCut.sol b/src/interfaces/IDiamondCut.sol index 39eda5b5c..72dea6b5e 100644 --- a/src/interfaces/IDiamondCut.sol +++ b/src/interfaces/IDiamondCut.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; import {IDiamond} from "./IDiamond.sol"; diff --git a/src/interfaces/IGateway.sol b/src/interfaces/IGateway.sol index 4a03f6705..b5a56dcc4 100644 --- a/src/interfaces/IGateway.sol +++ b/src/interfaces/IGateway.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; import {BottomUpCheckpoint, TopDownCheckpoint, CrossMsg} from "../structs/Checkpoint.sol"; diff --git a/src/interfaces/ISubnetActor.sol b/src/interfaces/ISubnetActor.sol index f7ea3b844..630c0c133 100644 --- a/src/interfaces/ISubnetActor.sol +++ b/src/interfaces/ISubnetActor.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; import {BottomUpCheckpoint} from "../structs/Checkpoint.sol"; diff --git a/src/lib/AccountHelper.sol b/src/lib/AccountHelper.sol index 668921e31..772141cd3 100644 --- a/src/lib/AccountHelper.sol +++ b/src/lib/AccountHelper.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; import {ADDRESS_CODEHASH} from "../constants/Constants.sol"; diff --git a/src/lib/CheckpointHelper.sol b/src/lib/CheckpointHelper.sol index 241810951..22adfb4b4 100644 --- a/src/lib/CheckpointHelper.sol +++ b/src/lib/CheckpointHelper.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; import {EMPTY_HASH} from "../constants/Constants.sol"; diff --git a/src/lib/CrossMsgHelper.sol b/src/lib/CrossMsgHelper.sol index 6967aae15..0789edff7 100644 --- a/src/lib/CrossMsgHelper.sol +++ b/src/lib/CrossMsgHelper.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; import {METHOD_SEND, EMPTY_BYTES, BURNT_FUNDS_ACTOR} from "../constants/Constants.sol"; diff --git a/src/lib/EpochVoteSubmissionHelper.sol b/src/lib/EpochVoteSubmissionHelper.sol index b14e6398f..2d6eb03d8 100644 --- a/src/lib/EpochVoteSubmissionHelper.sol +++ b/src/lib/EpochVoteSubmissionHelper.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; import {EMPTY_HASH} from "../constants/Constants.sol"; diff --git a/src/lib/ExecutableQueueHelper.sol b/src/lib/ExecutableQueueHelper.sol index 9d0cf2868..21b4eb738 100644 --- a/src/lib/ExecutableQueueHelper.sol +++ b/src/lib/ExecutableQueueHelper.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; import {ExecutableQueue} from "../structs/ExecutableQueue.sol"; diff --git a/src/lib/FvmAddressHelper.sol b/src/lib/FvmAddressHelper.sol index 393b6f609..0097db46a 100644 --- a/src/lib/FvmAddressHelper.sol +++ b/src/lib/FvmAddressHelper.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; import {FvmAddress, DelegatedAddress} from "../structs/FvmAddress.sol"; diff --git a/src/lib/LibDiamond.sol b/src/lib/LibDiamond.sol index d0d959181..9295abd33 100644 --- a/src/lib/LibDiamond.sol +++ b/src/lib/LibDiamond.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; import {IDiamondCut} from "../interfaces/IDiamondCut.sol"; diff --git a/src/lib/LibGateway.sol b/src/lib/LibGateway.sol index 8c47e7048..a9780bba9 100644 --- a/src/lib/LibGateway.sol +++ b/src/lib/LibGateway.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; import {IGateway} from "../interfaces/IGateway.sol"; diff --git a/src/lib/LibGatewayActorStorage.sol b/src/lib/LibGatewayActorStorage.sol index c649c3698..7958eabe2 100644 --- a/src/lib/LibGatewayActorStorage.sol +++ b/src/lib/LibGatewayActorStorage.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; import {VoteExecutionStatus} from "../enums/VoteExecutionStatus.sol"; diff --git a/src/lib/LibReentrancyGuard.sol b/src/lib/LibReentrancyGuard.sol index 6282d046e..e7c867b56 100644 --- a/src/lib/LibReentrancyGuard.sol +++ b/src/lib/LibReentrancyGuard.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; /// @title Reentrancy Guard diff --git a/src/lib/LibSubnetActorStorage.sol b/src/lib/LibSubnetActorStorage.sol index 8208d232d..e8397be86 100644 --- a/src/lib/LibSubnetActorStorage.sol +++ b/src/lib/LibSubnetActorStorage.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; import {ConsensusType} from "../enums/ConsensusType.sol"; diff --git a/src/lib/LibVoting.sol b/src/lib/LibVoting.sol index 4c68931a8..29d5df485 100644 --- a/src/lib/LibVoting.sol +++ b/src/lib/LibVoting.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; import {VoteExecutionStatus} from "../enums/VoteExecutionStatus.sol"; diff --git a/src/lib/StorableMsgHelper.sol b/src/lib/StorableMsgHelper.sol index 3a4af4f61..b1b34e69a 100644 --- a/src/lib/StorableMsgHelper.sol +++ b/src/lib/StorableMsgHelper.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; import {SubnetID} from "../structs/Subnet.sol"; diff --git a/src/lib/SubnetIDHelper.sol b/src/lib/SubnetIDHelper.sol index a761d9b5c..e3968a70f 100644 --- a/src/lib/SubnetIDHelper.sol +++ b/src/lib/SubnetIDHelper.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; import {SubnetID} from "../structs/Subnet.sol"; diff --git a/src/structs/Checkpoint.sol b/src/structs/Checkpoint.sol index c3d3ce5da..13db34569 100644 --- a/src/structs/Checkpoint.sol +++ b/src/structs/Checkpoint.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; import {SubnetID, IPCAddress} from "./Subnet.sol"; diff --git a/src/structs/EpochVoteSubmission.sol b/src/structs/EpochVoteSubmission.sol index e69abfde6..1fc440b99 100644 --- a/src/structs/EpochVoteSubmission.sol +++ b/src/structs/EpochVoteSubmission.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; import {BottomUpCheckpoint, TopDownCheckpoint} from "./Checkpoint.sol"; diff --git a/src/structs/ExecutableQueue.sol b/src/structs/ExecutableQueue.sol index 380341627..797c615ae 100644 --- a/src/structs/ExecutableQueue.sol +++ b/src/structs/ExecutableQueue.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; struct ExecutableQueue { diff --git a/src/structs/FvmAddress.sol b/src/structs/FvmAddress.sol index e1680de83..12347dde9 100644 --- a/src/structs/FvmAddress.sol +++ b/src/structs/FvmAddress.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; /* diff --git a/src/structs/Subnet.sol b/src/structs/Subnet.sol index 678d5e49b..e4024e24f 100644 --- a/src/structs/Subnet.sol +++ b/src/structs/Subnet.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; import {SubnetID} from "./Subnet.sol"; diff --git a/src/structs/Validator.sol b/src/structs/Validator.sol index 024ecf4bc..cfa712cc0 100644 --- a/src/structs/Validator.sol +++ b/src/structs/Validator.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; import {FvmAddress} from "../structs/FvmAddress.sol"; diff --git a/src/subnet/SubnetActorGetterFacet.sol b/src/subnet/SubnetActorGetterFacet.sol index 900fb5949..a9f232470 100644 --- a/src/subnet/SubnetActorGetterFacet.sol +++ b/src/subnet/SubnetActorGetterFacet.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; import {FvmAddress} from "../structs/FvmAddress.sol"; diff --git a/src/subnet/SubnetActorManagerFacet.sol b/src/subnet/SubnetActorManagerFacet.sol index 2419f2ff3..587b2bd9f 100644 --- a/src/subnet/SubnetActorManagerFacet.sol +++ b/src/subnet/SubnetActorManagerFacet.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; import {SubnetActorModifiers} from "../lib/LibSubnetActorStorage.sol"; diff --git a/test/AccountHelper.t.sol b/test/AccountHelper.t.sol index 285aae86a..e4aca6cf0 100644 --- a/test/AccountHelper.t.sol +++ b/test/AccountHelper.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; import "forge-std/Test.sol"; diff --git a/test/CheckpointHelper.t.sol b/test/CheckpointHelper.t.sol index f2e1b51a7..4f7c9f5e5 100644 --- a/test/CheckpointHelper.t.sol +++ b/test/CheckpointHelper.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; import "forge-std/Test.sol"; diff --git a/test/CrossMsgHelper.t.sol b/test/CrossMsgHelper.t.sol index e2f9dc925..7c081d53c 100644 --- a/test/CrossMsgHelper.t.sol +++ b/test/CrossMsgHelper.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; import "forge-std/Test.sol"; diff --git a/test/EpochVoteSubmissionHelper.t.sol b/test/EpochVoteSubmissionHelper.t.sol index 2e9a4c27d..c03f27410 100644 --- a/test/EpochVoteSubmissionHelper.t.sol +++ b/test/EpochVoteSubmissionHelper.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; import "forge-std/Test.sol"; diff --git a/test/ExecutableQueueHelper.t.sol b/test/ExecutableQueueHelper.t.sol index 9892a5cbf..49744e9d3 100644 --- a/test/ExecutableQueueHelper.t.sol +++ b/test/ExecutableQueueHelper.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; import "forge-std/Test.sol"; diff --git a/test/FvmAddressHelper.t.sol b/test/FvmAddressHelper.t.sol index 6a63b8396..e2c0f3bab 100644 --- a/test/FvmAddressHelper.t.sol +++ b/test/FvmAddressHelper.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; import "forge-std/Test.sol"; diff --git a/test/GatewayDiamond.t.sol b/test/GatewayDiamond.t.sol index 6c23ef07d..bf11fb6dc 100644 --- a/test/GatewayDiamond.t.sol +++ b/test/GatewayDiamond.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; import "forge-std/Test.sol"; diff --git a/test/LibVoting.t.sol b/test/LibVoting.t.sol index e9f2d0dde..96e41ea1f 100644 --- a/test/LibVoting.t.sol +++ b/test/LibVoting.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; import "forge-std/Test.sol"; diff --git a/test/StorableMsgHelper.t.sol b/test/StorableMsgHelper.t.sol index 97822c451..6cb293a04 100644 --- a/test/StorableMsgHelper.t.sol +++ b/test/StorableMsgHelper.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; import "forge-std/Test.sol"; diff --git a/test/SubnetActorDiamond.t.sol b/test/SubnetActorDiamond.t.sol index b82af4d15..32a4dfe83 100644 --- a/test/SubnetActorDiamond.t.sol +++ b/test/SubnetActorDiamond.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; import "forge-std/Test.sol"; diff --git a/test/SubnetIDHelper.t.sol b/test/SubnetIDHelper.t.sol index 2be4d812b..fdf47c92e 100644 --- a/test/SubnetIDHelper.t.sol +++ b/test/SubnetIDHelper.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; import "forge-std/Test.sol"; diff --git a/test/SubnetRegistry.t.sol b/test/SubnetRegistry.t.sol index 9d653665d..2e9b982d2 100644 --- a/test/SubnetRegistry.t.sol +++ b/test/SubnetRegistry.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; import {EMPTY_BYTES} from "../src/constants/Constants.sol"; diff --git a/test/TestUtils.sol b/test/TestUtils.sol index 3d7659d35..2f42ee6e1 100644 --- a/test/TestUtils.sol +++ b/test/TestUtils.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity 0.8.19; import "forge-std/Test.sol";