Skip to content

Commit

Permalink
feat: set solidity version to >= 0.8.0 on interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
reednaa committed Mar 20, 2024
2 parents 4e69ff5 + e09d979 commit 6634b0a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/interfaces/ICrossChainReceiver.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
pragma solidity >=0.8.0;

interface ICrossChainReceiver {
/**
Expand Down
4 changes: 1 addition & 3 deletions src/interfaces/IIncentivizedMessageEscrow.sol
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

pragma solidity >=0.8.0;

import { IMessageEscrowStructs } from "./IMessageEscrowStructs.sol";
import { IMessageEscrowErrors } from "./IMessageEscrowErrors.sol";
import { IMessageEscrowEvents } from "./IMessageEscrowEvents.sol";


interface IIncentivizedMessageEscrow is IMessageEscrowStructs, IMessageEscrowErrors, IMessageEscrowEvents {
function bounty(bytes32 messageIdentifier) external view returns(IncentiveDescription memory incentive);

Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/IMessageEscrowErrors.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
pragma solidity >=0.8.0;

interface IMessageEscrowErrors {
error NotEnoughGasProvided(uint128 expected, uint128 actual); // 030748b5
Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/IMessageEscrowEvents.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
pragma solidity >=0.8.0;

import { IMessageEscrowStructs } from "./IMessageEscrowStructs.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/IMessageEscrowStructs.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
pragma solidity >=0.8.0;

interface IMessageEscrowStructs {
struct IncentiveDescription {
Expand Down

0 comments on commit 6634b0a

Please sign in to comment.