Skip to content
Closed
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
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/contracts/contracts/governance/Controller.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-or-later

pragma solidity ^0.7.6 || 0.8.27 || 0.8.33;
pragma solidity ^0.7.6 || 0.8.27 || 0.8.34;

// TODO: Re-enable and fix issues when publishing a new version
// solhint-disable gas-indexed-events, gas-small-strings
Expand Down
2 changes: 1 addition & 1 deletion packages/contracts/contracts/governance/Governed.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-or-later

pragma solidity ^0.7.6 || 0.8.27 || 0.8.33;
pragma solidity ^0.7.6 || 0.8.27 || 0.8.34;

/* solhint-disable gas-custom-errors */ // Cannot use custom errors with 0.7.6

Expand Down
2 changes: 1 addition & 1 deletion packages/contracts/contracts/governance/Pausable.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-or-later

pragma solidity ^0.7.6 || 0.8.27 || 0.8.33;
pragma solidity ^0.7.6 || 0.8.27 || 0.8.34;

// TODO: Re-enable and fix issues when publishing a new version
// solhint-disable gas-indexed-events
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// TODO: Re-enable and fix issues when publishing a new version
// solhint-disable named-parameters-mapping

pragma solidity ^0.7.6 || 0.8.27 || 0.8.33;
pragma solidity ^0.7.6 || 0.8.27 || 0.8.34;

import { IIssuanceAllocationDistribution } from "@graphprotocol/interfaces/contracts/issuance/allocate/IIssuanceAllocationDistribution.sol";
import { IRewardsEligibility } from "@graphprotocol/interfaces/contracts/issuance/eligibility/IRewardsEligibility.sol";
Expand Down
2 changes: 1 addition & 1 deletion packages/contracts/contracts/upgrades/GraphProxy.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-or-later

pragma solidity ^0.7.6 || 0.8.27 || 0.8.33;
pragma solidity ^0.7.6 || 0.8.27 || 0.8.34;

// TODO: Re-enable and fix issues when publishing a new version
// solhint-disable gas-small-strings
Expand Down
2 changes: 1 addition & 1 deletion packages/contracts/contracts/upgrades/GraphProxyAdmin.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-or-later

pragma solidity ^0.7.6 || 0.8.27 || 0.8.33;
pragma solidity ^0.7.6 || 0.8.27 || 0.8.34;

/* solhint-disable gas-custom-errors */ // Cannot use custom errors with 0.7.6

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-or-later

pragma solidity ^0.7.6 || 0.8.27 || 0.8.33;
pragma solidity ^0.7.6 || 0.8.27 || 0.8.34;

/* solhint-disable gas-custom-errors */ // Cannot use custom errors with 0.7.6

Expand Down
2 changes: 1 addition & 1 deletion packages/contracts/contracts/upgrades/GraphUpgradeable.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-or-later

pragma solidity ^0.7.6 || 0.8.27 || 0.8.33;
pragma solidity ^0.7.6 || 0.8.27 || 0.8.34;

/* solhint-disable gas-custom-errors */ // Cannot use custom errors with 0.7.6

Expand Down
2 changes: 1 addition & 1 deletion packages/contracts/contracts/utils/TokenUtils.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-or-later

pragma solidity ^0.7.6 || 0.8.27 || 0.8.33;
pragma solidity ^0.7.6 || 0.8.27 || 0.8.34;

/* solhint-disable gas-custom-errors */ // Cannot use custom errors with 0.7.6

Expand Down
4 changes: 2 additions & 2 deletions packages/deployment/lib/issuance-deploy-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ async function deployProxyWithOwnImpl(
// Deploy OZ v5 TransparentUpgradeableProxy
// Constructor: (address _logic, address initialOwner, bytes memory _data)
// The proxy creates its own ProxyAdmin owned by initialOwner (governor)
// Use issuance-compiled proxy artifact (0.8.33) for consistent verification
// Use issuance-compiled proxy artifact (0.8.34) for consistent verification
const proxyArtifact = loadTransparentProxyArtifact()
const proxyResult = await deployFn(
`${contract.name}_Proxy`,
Expand Down Expand Up @@ -447,7 +447,7 @@ async function deployProxyWithSharedImpl(

// Deploy OZ v5 TransparentUpgradeableProxy
// Constructor: (address _logic, address initialOwner, bytes memory _data)
// Use issuance-compiled proxy artifact (0.8.33) for consistent verification
// Use issuance-compiled proxy artifact (0.8.34) for consistent verification
const proxyArtifact = loadTransparentProxyArtifact()
const proxyResult = await deployFn(
`${contract.name}_Proxy`,
Expand Down
2 changes: 1 addition & 1 deletion packages/horizon/contracts/data-service/DataService.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.27 || 0.8.33;
pragma solidity 0.8.27 || 0.8.34;

import { IDataService } from "@graphprotocol/interfaces/contracts/data-service/IDataService.sol";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.27 || 0.8.33;
pragma solidity 0.8.27 || 0.8.34;

/**
* @title DataServiceStorage
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.27 || 0.8.33;
pragma solidity 0.8.27 || 0.8.34;

import { IDataServiceFees } from "@graphprotocol/interfaces/contracts/data-service/IDataServiceFees.sol";
import { ILinkedList } from "@graphprotocol/interfaces/contracts/horizon/internal/ILinkedList.sol";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.27 || 0.8.33;
pragma solidity 0.8.27 || 0.8.34;

import { IDataServiceFees } from "@graphprotocol/interfaces/contracts/data-service/IDataServiceFees.sol";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.27 || 0.8.33;
pragma solidity 0.8.27 || 0.8.34;

import { IDataServicePausable } from "@graphprotocol/interfaces/contracts/data-service/IDataServicePausable.sol";

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.27 || 0.8.33;
pragma solidity 0.8.27 || 0.8.34;

// TODO: Re-enable and fix issues when publishing a new version
// solhint-disable gas-strict-inequalities
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.27 || 0.8.33;
pragma solidity 0.8.27 || 0.8.34;

// TODO: Re-enable and fix issues when publishing a new version
// solhint-disable gas-indexed-events
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.27 || 0.8.33;
pragma solidity 0.8.27 || 0.8.34;

/**
* @title Storage layout for the {ProvisionManager} helper contract.
Expand Down
25 changes: 0 additions & 25 deletions packages/horizon/contracts/libraries/Denominations.sol

This file was deleted.

2 changes: 1 addition & 1 deletion packages/horizon/contracts/libraries/LibFixedMath.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

// SPDX-License-Identifier: Apache-2.0

pragma solidity 0.8.27 || 0.8.33;
pragma solidity 0.8.27 || 0.8.34;

// TODO: Re-enable and fix issues when publishing a new version
// solhint-disable function-max-lines, gas-strict-inequalities
Expand Down
2 changes: 1 addition & 1 deletion packages/horizon/contracts/libraries/LinkedList.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-or-later

pragma solidity 0.8.27 || 0.8.33;
pragma solidity 0.8.27 || 0.8.34;

// TODO: Re-enable and fix issues when publishing a new version
// solhint-disable gas-increment-by-one, gas-strict-inequalities
Expand Down
2 changes: 1 addition & 1 deletion packages/horizon/contracts/libraries/MathUtils.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// TODO: Re-enable and fix issues when publishing a new version
// solhint-disable gas-strict-inequalities

pragma solidity 0.8.27 || 0.8.33;
pragma solidity 0.8.27 || 0.8.34;

/**
* @title MathUtils Library
Expand Down
2 changes: 1 addition & 1 deletion packages/horizon/contracts/libraries/PPMMath.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.27 || 0.8.33;
pragma solidity 0.8.27 || 0.8.34;

// TODO: Re-enable and fix issues when publishing a new version
// solhint-disable gas-strict-inequalities
Expand Down
2 changes: 1 addition & 1 deletion packages/horizon/contracts/libraries/UintRange.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.27 || 0.8.33;
pragma solidity 0.8.27 || 0.8.34;

// TODO: Re-enable and fix issues when publishing a new version
// solhint-disable gas-strict-inequalities
Expand Down
2 changes: 1 addition & 1 deletion packages/horizon/contracts/payments/GraphPayments.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.27 || 0.8.33;
pragma solidity 0.8.27 || 0.8.34;

// TODO: Re-enable and fix issues when publishing a new version
// solhint-disable function-max-lines
Expand Down
2 changes: 1 addition & 1 deletion packages/horizon/contracts/payments/PaymentsEscrow.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.27 || 0.8.33;
pragma solidity 0.8.27 || 0.8.34;

// TODO: Re-enable and fix issues when publishing a new version
// solhint-disable gas-strict-inequalities
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.27 || 0.8.33;
pragma solidity 0.8.27 || 0.8.34;

// TODO: Re-enable and fix issues when publishing a new version
// solhint-disable gas-small-strings
Expand Down
2 changes: 1 addition & 1 deletion packages/horizon/contracts/staking/HorizonStaking.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// solhint-disable gas-increment-by-one
// solhint-disable function-max-lines

pragma solidity 0.8.27 || 0.8.33;
pragma solidity 0.8.27 || 0.8.34;

import { IGraphToken } from "@graphprotocol/interfaces/contracts/contracts/token/IGraphToken.sol";
import { IHorizonStakingMain } from "@graphprotocol/interfaces/contracts/horizon/internal/IHorizonStakingMain.sol";
Expand Down
2 changes: 1 addition & 1 deletion packages/horizon/contracts/staking/HorizonStakingBase.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// TODO: Re-enable and fix issues when publishing a new version
// solhint-disable gas-strict-inequalities

pragma solidity 0.8.27 || 0.8.33;
pragma solidity 0.8.27 || 0.8.34;

import { IHorizonStakingTypes } from "@graphprotocol/interfaces/contracts/horizon/internal/IHorizonStakingTypes.sol";
import { IHorizonStakingBase } from "@graphprotocol/interfaces/contracts/horizon/internal/IHorizonStakingBase.sol";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-or-later

pragma solidity 0.8.27 || 0.8.33;
pragma solidity 0.8.27 || 0.8.34;

// TODO: Re-enable and fix issues when publishing a new version
// solhint-disable function-max-lines, gas-strict-inequalities
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-or-later

pragma solidity 0.8.27 || 0.8.33;
pragma solidity 0.8.27 || 0.8.34;

// TODO: Re-enable and fix issues when publishing a new version
// forge-lint: disable-start(mixed-case-variable)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-or-later

pragma solidity 0.8.27 || 0.8.33;
pragma solidity 0.8.27 || 0.8.34;

// TODO: Re-enable and fix issues when publishing a new version
// forge-lint: disable-start(unsafe-typecast)
Expand Down
2 changes: 1 addition & 1 deletion packages/horizon/contracts/staking/utilities/Managed.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-or-later

pragma solidity 0.8.27 || 0.8.33;
pragma solidity 0.8.27 || 0.8.34;

import { GraphDirectory } from "../../utilities/GraphDirectory.sol";

Expand Down
2 changes: 1 addition & 1 deletion packages/horizon/contracts/utilities/Authorizable.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.27 || 0.8.33;
pragma solidity 0.8.27 || 0.8.34;

// TODO: Re-enable and fix issues when publishing a new version
// solhint-disable gas-strict-inequalities
Expand Down
2 changes: 1 addition & 1 deletion packages/horizon/contracts/utilities/GraphDirectory.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-or-later

pragma solidity 0.8.27 || 0.8.33;
pragma solidity 0.8.27 || 0.8.34;

import { IGraphToken } from "@graphprotocol/interfaces/contracts/contracts/token/IGraphToken.sol";
import { IHorizonStaking } from "@graphprotocol/interfaces/contracts/horizon/IHorizonStaking.sol";
Expand Down
Loading
Loading