Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump version pragma to 0.8.26 #78

Merged
merged 1 commit into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contracts/BaseWorkflow.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;

import { IAccessController } from "@storyprotocol/core/interfaces/access/IAccessController.sol";
import { IIPAssetRegistry } from "@storyprotocol/core/interfaces/registries/IIPAssetRegistry.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/SPGNFT.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;

import { AccessControlUpgradeable } from "@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol";
// solhint-disable-next-line max-line-length
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/ISPGNFT.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;

import { IAccessControl } from "@openzeppelin/contracts/access/IAccessControl.sol";
import { IERC721 } from "@openzeppelin/contracts/token/ERC721/IERC721.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/workflows/IDerivativeWorkflows.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;

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

Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/workflows/IGroupingWorkflows.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;

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

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;

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

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;

import { ISPGNFT } from "../../interfaces/ISPGNFT.sol";
import { WorkflowStructs } from "../../lib/WorkflowStructs.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/lib/Errors.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;

/// @title Errors Library
/// @notice Library for all Story Protocol periphery contract errors.
Expand Down
2 changes: 1 addition & 1 deletion contracts/lib/LicensingHelper.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;

import { ILicenseRegistry } from "@storyprotocol/core/interfaces/registries/ILicenseRegistry.sol";
import { ILicensingModule } from "@storyprotocol/core/interfaces/modules/licensing/ILicensingModule.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/lib/MetadataHelper.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;

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

Expand Down
2 changes: 1 addition & 1 deletion contracts/lib/PermissionHelper.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;

import { IIPAccount } from "@storyprotocol/core/interfaces/IIPAccount.sol";
import { AccessPermission } from "@storyprotocol/core/lib/AccessPermission.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/lib/SPGNFTLib.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;

/// @title SPG NFT Library
/// @notice Library for SPG NFT related functions.
Expand Down
2 changes: 1 addition & 1 deletion contracts/lib/WorkflowStructs.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;

/// @title Workflow Structs Library
/// @notice Library for all the structs used in periphery workflows.
Expand Down
2 changes: 1 addition & 1 deletion contracts/workflows/DerivativeWorkflows.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;

// solhint-disable-next-line max-line-length
import { AccessManagedUpgradeable } from "@openzeppelin/contracts-upgradeable/access/manager/AccessManagedUpgradeable.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/workflows/GroupingWorkflows.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;

// solhint-disable-next-line max-line-length
import { AccessManagedUpgradeable } from "@openzeppelin/contracts-upgradeable/access/manager/AccessManagedUpgradeable.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/workflows/LicenseAttachmentWorkflows.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;

// solhint-disable-next-line max-line-length
import { AccessManagedUpgradeable } from "@openzeppelin/contracts-upgradeable/access/manager/AccessManagedUpgradeable.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/workflows/RegistrationWorkflows.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;

// solhint-disable-next-line max-line-length
import { AccessManagedUpgradeable } from "@openzeppelin/contracts-upgradeable/access/manager/AccessManagedUpgradeable.sol";
Expand Down
2 changes: 1 addition & 1 deletion script/deployment/Main.s.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;
/* solhint-disable no-console */

// script
Expand Down
2 changes: 1 addition & 1 deletion script/deployment/MockRewardPool.s.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;
/* solhint-disable no-console */

// external
Expand Down
2 changes: 1 addition & 1 deletion script/upgrade/UpgradeDerivativeWorkflows.s.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;
/* solhint-disable no-console */

// external
Expand Down
2 changes: 1 addition & 1 deletion script/upgrade/UpgradeGroupingWorkflows.s.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;
/* solhint-disable no-console */

// external
Expand Down
2 changes: 1 addition & 1 deletion script/upgrade/UpgradeLicenseAttachmentWorkflows.s.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;
/* solhint-disable no-console */

// external
Expand Down
2 changes: 1 addition & 1 deletion script/upgrade/UpgradeRegistrationWorkflows.s.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;
/* solhint-disable no-console */

// external
Expand Down
2 changes: 1 addition & 1 deletion script/upgrade/UpgradeRoyaltyWorkflows.s.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;
/* solhint-disable no-console */

// external
Expand Down
2 changes: 1 addition & 1 deletion script/upgrade/UpgradeSPGNFT.s.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;
/* solhint-disable no-console */

// external
Expand Down
2 changes: 1 addition & 1 deletion script/utils/BroadcastManager.s.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;

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

Expand Down
2 changes: 1 addition & 1 deletion script/utils/DeployHelper.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* solhint-disable no-console */
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;

// external
import { console2 } from "forge-std/console2.sol";
Expand Down
2 changes: 1 addition & 1 deletion script/utils/JsonDeploymentHandler.s.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;

import { Script } from "forge-std/Script.sol";
import { stdJson } from "forge-std/StdJson.sol";
Expand Down
2 changes: 1 addition & 1 deletion script/utils/StoryProtocolCoreAddressManager.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;

import { Script, stdJson } from "forge-std/Script.sol";
import { Strings } from "@openzeppelin/contracts/utils/Strings.sol";
Expand Down
2 changes: 1 addition & 1 deletion script/utils/StoryProtocolPeripheryAddressManager.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;

import { Script, stdJson } from "forge-std/Script.sol";
import { Strings } from "@openzeppelin/contracts/utils/Strings.sol";
Expand Down
2 changes: 1 addition & 1 deletion script/utils/StringUtil.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;

/// @title String Utility Library
library StringUtil {
Expand Down
2 changes: 1 addition & 1 deletion script/utils/upgrades/ERC7201Helper.s.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;
/* solhint-disable no-console */

import { Script } from "forge-std/Script.sol";
Expand Down
2 changes: 1 addition & 1 deletion script/utils/upgrades/UpgradeHelper.s.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;
/* solhint-disable no-console */

// external
Expand Down
2 changes: 1 addition & 1 deletion test/SPGNFT.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;

import { BeaconProxy } from "@openzeppelin/contracts/proxy/beacon/BeaconProxy.sol";
import { Strings } from "@openzeppelin/contracts/utils/Strings.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/mocks/MockERC20.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;

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

Expand Down
2 changes: 1 addition & 1 deletion test/mocks/MockERC721.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;

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

Expand Down
2 changes: 1 addition & 1 deletion test/utils/BaseTest.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;

// external
import { Test } from "forge-std/Test.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/utils/TestProxyHelper.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;

import { ERC1967Proxy } from "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol";
import { ICreate3Deployer } from "@create3-deployer/contracts/ICreate3Deployer.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/utils/Users.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;

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

Expand Down
2 changes: 1 addition & 1 deletion test/workflows/DerivativeWorkflows.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;
/* solhint-disable no-console */

// external
Expand Down
2 changes: 1 addition & 1 deletion test/workflows/GroupingWorkflows.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;
/* solhint-disable no-console */

// external
Expand Down
2 changes: 1 addition & 1 deletion test/workflows/LicenseAttachmentWorkflows.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;
/* solhint-disable no-console */

// external
Expand Down
2 changes: 1 addition & 1 deletion test/workflows/RegistrationWorkflows.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;
pragma solidity 0.8.26;
/* solhint-disable no-console */

// external
Expand Down
Loading