From 30335bbe5b96cf4d9c05bfc369cdb493e6037747 Mon Sep 17 00:00:00 2001 From: hueso Date: Sat, 2 Aug 2025 20:16:45 -0300 Subject: [PATCH] bump solidity verison --- contracts/Reputation.sol | 2 +- contracts/core/BaseUtils.sol | 2 +- contracts/core/Constants.sol | 2 +- contracts/core/DataTypes.sol | 2 +- contracts/core/EventAndErrors.sol | 2 +- contracts/core/OwnerSettings.sol | 2 +- contracts/lib/mock/mockToken.sol | 2 +- contracts/p2pix.sol | 2 +- hardhat.config.ts | 4 ++-- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/contracts/Reputation.sol b/contracts/Reputation.sol index 888e1e0..0714ef4 100644 --- a/contracts/Reputation.sol +++ b/contracts/Reputation.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.19; +pragma solidity ^0.8.19; import { IReputation } from "./lib/interfaces/IReputation.sol"; diff --git a/contracts/core/BaseUtils.sol b/contracts/core/BaseUtils.sol index 4456607..eddacf5 100644 --- a/contracts/core/BaseUtils.sol +++ b/contracts/core/BaseUtils.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.19; +pragma solidity ^0.8.19; import { ERC20, OwnerSettings } from "contracts/core/OwnerSettings.sol"; diff --git a/contracts/core/Constants.sol b/contracts/core/Constants.sol index f9f41f6..21e2449 100644 --- a/contracts/core/Constants.sol +++ b/contracts/core/Constants.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.19; +pragma solidity ^0.8.19; abstract contract Constants { /// ███ Constants ██████████████████████████████████████████████████████████ diff --git a/contracts/core/DataTypes.sol b/contracts/core/DataTypes.sol index f5473cc..f7b901b 100644 --- a/contracts/core/DataTypes.sol +++ b/contracts/core/DataTypes.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.19; +pragma solidity ^0.8.19; import { ERC20 } from "contracts/lib/tokens/ERC20.sol"; diff --git a/contracts/core/EventAndErrors.sol b/contracts/core/EventAndErrors.sol index 9fc61a3..918e9b8 100644 --- a/contracts/core/EventAndErrors.sol +++ b/contracts/core/EventAndErrors.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.19; +pragma solidity ^0.8.19; import { ERC20 } from "contracts/lib/tokens/ERC20.sol"; diff --git a/contracts/core/OwnerSettings.sol b/contracts/core/OwnerSettings.sol index 4691811..a4cac75 100644 --- a/contracts/core/OwnerSettings.sol +++ b/contracts/core/OwnerSettings.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.19; +pragma solidity ^0.8.19; import { ERC2771Context as ERC2771 } from "contracts/lib/metatx/ERC2771Context.sol"; import { ERC20, SafeTransferLib } from "contracts/lib/utils/SafeTransferLib.sol"; diff --git a/contracts/lib/mock/mockToken.sol b/contracts/lib/mock/mockToken.sol index f54ec50..f854139 100644 --- a/contracts/lib/mock/mockToken.sol +++ b/contracts/lib/mock/mockToken.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.19; +pragma solidity ^0.8.19; import { ERC20 } from "../tokens/ERC20.sol"; diff --git a/contracts/p2pix.sol b/contracts/p2pix.sol index 414b4c2..641da79 100644 --- a/contracts/p2pix.sol +++ b/contracts/p2pix.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.19; +pragma solidity ^0.8.19; /// ______ __ /// .-----.|__ |.-----.|__|.--.--. diff --git a/hardhat.config.ts b/hardhat.config.ts index 6350653..e99b83d 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -125,10 +125,10 @@ const config: HardhatUserConfig = { tests: "./test", }, solidity: { - version: "0.8.19", + version: "0.8.28", settings: { viaIR: true, - evmVersion: "paris", + evmVersion: "cancun", optimizer: { enabled: true, runs: 20_000,