Skip to content

Commit d540e6d

Browse files
authored
chore: bump version pragma to 0.8.26 (#78)
1 parent 6da0a50 commit d540e6d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+43
-43
lines changed

contracts/BaseWorkflow.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.23;
2+
pragma solidity 0.8.26;
33

44
import { IAccessController } from "@storyprotocol/core/interfaces/access/IAccessController.sol";
55
import { IIPAssetRegistry } from "@storyprotocol/core/interfaces/registries/IIPAssetRegistry.sol";

contracts/SPGNFT.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.23;
2+
pragma solidity 0.8.26;
33

44
import { AccessControlUpgradeable } from "@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol";
55
// solhint-disable-next-line max-line-length

contracts/interfaces/ISPGNFT.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.23;
2+
pragma solidity 0.8.26;
33

44
import { IAccessControl } from "@openzeppelin/contracts/access/IAccessControl.sol";
55
import { IERC721 } from "@openzeppelin/contracts/token/ERC721/IERC721.sol";

contracts/interfaces/workflows/IDerivativeWorkflows.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.23;
2+
pragma solidity 0.8.26;
33

44
import { WorkflowStructs } from "../../lib/WorkflowStructs.sol";
55

contracts/interfaces/workflows/IGroupingWorkflows.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.23;
2+
pragma solidity 0.8.26;
33

44
import { WorkflowStructs } from "../../lib/WorkflowStructs.sol";
55

contracts/interfaces/workflows/ILicenseAttachmentWorkflows.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.23;
2+
pragma solidity 0.8.26;
33

44
import { PILTerms } from "@storyprotocol/core/interfaces/modules/licensing/IPILicenseTemplate.sol";
55

contracts/interfaces/workflows/IRegistrationWorkflows.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.23;
2+
pragma solidity 0.8.26;
33

44
import { ISPGNFT } from "../../interfaces/ISPGNFT.sol";
55
import { WorkflowStructs } from "../../lib/WorkflowStructs.sol";

contracts/lib/Errors.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.23;
2+
pragma solidity 0.8.26;
33

44
/// @title Errors Library
55
/// @notice Library for all Story Protocol periphery contract errors.

contracts/lib/LicensingHelper.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.23;
2+
pragma solidity 0.8.26;
33

44
import { ILicenseRegistry } from "@storyprotocol/core/interfaces/registries/ILicenseRegistry.sol";
55
import { ILicensingModule } from "@storyprotocol/core/interfaces/modules/licensing/ILicensingModule.sol";

contracts/lib/MetadataHelper.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.23;
2+
pragma solidity 0.8.26;
33

44
import { ICoreMetadataModule } from "@storyprotocol/core/interfaces/modules/metadata/ICoreMetadataModule.sol";
55

contracts/lib/PermissionHelper.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.23;
2+
pragma solidity 0.8.26;
33

44
import { IIPAccount } from "@storyprotocol/core/interfaces/IIPAccount.sol";
55
import { AccessPermission } from "@storyprotocol/core/lib/AccessPermission.sol";

contracts/lib/SPGNFTLib.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.23;
2+
pragma solidity 0.8.26;
33

44
/// @title SPG NFT Library
55
/// @notice Library for SPG NFT related functions.

contracts/lib/WorkflowStructs.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.23;
2+
pragma solidity 0.8.26;
33

44
/// @title Workflow Structs Library
55
/// @notice Library for all the structs used in periphery workflows.

contracts/workflows/DerivativeWorkflows.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.23;
2+
pragma solidity 0.8.26;
33

44
// solhint-disable-next-line max-line-length
55
import { AccessManagedUpgradeable } from "@openzeppelin/contracts-upgradeable/access/manager/AccessManagedUpgradeable.sol";

contracts/workflows/GroupingWorkflows.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.23;
2+
pragma solidity 0.8.26;
33

44
// solhint-disable-next-line max-line-length
55
import { AccessManagedUpgradeable } from "@openzeppelin/contracts-upgradeable/access/manager/AccessManagedUpgradeable.sol";

contracts/workflows/LicenseAttachmentWorkflows.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.23;
2+
pragma solidity 0.8.26;
33

44
// solhint-disable-next-line max-line-length
55
import { AccessManagedUpgradeable } from "@openzeppelin/contracts-upgradeable/access/manager/AccessManagedUpgradeable.sol";

contracts/workflows/RegistrationWorkflows.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.23;
2+
pragma solidity 0.8.26;
33

44
// solhint-disable-next-line max-line-length
55
import { AccessManagedUpgradeable } from "@openzeppelin/contracts-upgradeable/access/manager/AccessManagedUpgradeable.sol";

script/deployment/Main.s.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.23;
2+
pragma solidity 0.8.26;
33
/* solhint-disable no-console */
44

55
// script

script/deployment/MockRewardPool.s.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.23;
2+
pragma solidity 0.8.26;
33
/* solhint-disable no-console */
44

55
// external

script/upgrade/UpgradeDerivativeWorkflows.s.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.23;
2+
pragma solidity 0.8.26;
33
/* solhint-disable no-console */
44

55
// external

script/upgrade/UpgradeGroupingWorkflows.s.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.23;
2+
pragma solidity 0.8.26;
33
/* solhint-disable no-console */
44

55
// external

script/upgrade/UpgradeLicenseAttachmentWorkflows.s.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.23;
2+
pragma solidity 0.8.26;
33
/* solhint-disable no-console */
44

55
// external

script/upgrade/UpgradeRegistrationWorkflows.s.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.23;
2+
pragma solidity 0.8.26;
33
/* solhint-disable no-console */
44

55
// external

script/upgrade/UpgradeRoyaltyWorkflows.s.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.23;
2+
pragma solidity 0.8.26;
33
/* solhint-disable no-console */
44

55
// external

script/upgrade/UpgradeSPGNFT.s.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.23;
2+
pragma solidity 0.8.26;
33
/* solhint-disable no-console */
44

55
// external

script/utils/BroadcastManager.s.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.23;
2+
pragma solidity 0.8.26;
33

44
import { Script } from "forge-std/Script.sol";
55

script/utils/DeployHelper.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* solhint-disable no-console */
22
// SPDX-License-Identifier: MIT
3-
pragma solidity ^0.8.23;
3+
pragma solidity 0.8.26;
44

55
// external
66
import { console2 } from "forge-std/console2.sol";

script/utils/JsonDeploymentHandler.s.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.23;
2+
pragma solidity 0.8.26;
33

44
import { Script } from "forge-std/Script.sol";
55
import { stdJson } from "forge-std/StdJson.sol";

script/utils/StoryProtocolCoreAddressManager.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.23;
2+
pragma solidity 0.8.26;
33

44
import { Script, stdJson } from "forge-std/Script.sol";
55
import { Strings } from "@openzeppelin/contracts/utils/Strings.sol";

script/utils/StoryProtocolPeripheryAddressManager.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.23;
2+
pragma solidity 0.8.26;
33

44
import { Script, stdJson } from "forge-std/Script.sol";
55
import { Strings } from "@openzeppelin/contracts/utils/Strings.sol";

script/utils/StringUtil.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.23;
2+
pragma solidity 0.8.26;
33

44
/// @title String Utility Library
55
library StringUtil {

script/utils/upgrades/ERC7201Helper.s.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.23;
2+
pragma solidity 0.8.26;
33
/* solhint-disable no-console */
44

55
import { Script } from "forge-std/Script.sol";

script/utils/upgrades/UpgradeHelper.s.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.23;
2+
pragma solidity 0.8.26;
33
/* solhint-disable no-console */
44

55
// external

test/SPGNFT.t.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.23;
2+
pragma solidity 0.8.26;
33

44
import { BeaconProxy } from "@openzeppelin/contracts/proxy/beacon/BeaconProxy.sol";
55
import { Strings } from "@openzeppelin/contracts/utils/Strings.sol";

test/mocks/MockERC20.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.23;
2+
pragma solidity 0.8.26;
33

44
import { ERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
55

test/mocks/MockERC721.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.23;
2+
pragma solidity 0.8.26;
33

44
import { ERC721 } from "@openzeppelin/contracts/token/ERC721/ERC721.sol";
55

test/utils/BaseTest.t.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.23;
2+
pragma solidity 0.8.26;
33

44
// external
55
import { Test } from "forge-std/Test.sol";

test/utils/TestProxyHelper.t.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.23;
2+
pragma solidity 0.8.26;
33

44
import { ERC1967Proxy } from "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol";
55
import { ICreate3Deployer } from "@create3-deployer/contracts/ICreate3Deployer.sol";

test/utils/Users.t.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.23;
2+
pragma solidity 0.8.26;
33

44
import { Vm } from "forge-std/Vm.sol";
55

test/workflows/DerivativeWorkflows.t.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.23;
2+
pragma solidity 0.8.26;
33
/* solhint-disable no-console */
44

55
// external

test/workflows/GroupingWorkflows.t.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.23;
2+
pragma solidity 0.8.26;
33
/* solhint-disable no-console */
44

55
// external

test/workflows/LicenseAttachmentWorkflows.t.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.23;
2+
pragma solidity 0.8.26;
33
/* solhint-disable no-console */
44

55
// external

test/workflows/RegistrationWorkflows.t.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.23;
2+
pragma solidity 0.8.26;
33
/* solhint-disable no-console */
44

55
// external

0 commit comments

Comments
 (0)