diff --git a/modules/4337/contracts/Safe4337Module.sol b/modules/4337/contracts/Safe4337Module.sol index edc0c2d6..8985b816 100644 --- a/modules/4337/contracts/Safe4337Module.sol +++ b/modules/4337/contracts/Safe4337Module.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: LGPL-3.0-only -pragma solidity 0.8.23; +pragma solidity 0.8.28; import {HandlerContext} from "@safe-global/safe-contracts/contracts/handler/HandlerContext.sol"; import {CompatibilityFallbackHandler} from "@safe-global/safe-contracts/contracts/handler/CompatibilityFallbackHandler.sol"; diff --git a/modules/4337/contracts/SafeModuleSetup.sol b/modules/4337/contracts/SafeModuleSetup.sol index 749376d6..d0a07efe 100644 --- a/modules/4337/contracts/SafeModuleSetup.sol +++ b/modules/4337/contracts/SafeModuleSetup.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: LGPL-3.0-only -pragma solidity 0.8.23; +pragma solidity 0.8.28; import {ISafe} from "./interfaces/Safe.sol"; diff --git a/modules/4337/hardhat.config.ts b/modules/4337/hardhat.config.ts index 49e430c2..5f3e469b 100644 --- a/modules/4337/hardhat.config.ts +++ b/modules/4337/hardhat.config.ts @@ -35,16 +35,16 @@ if (['mainnet', 'sepolia', 'polygon', 'amoy'].includes(argv.network) && INFURA_K throw new Error(`Could not find Infura key in env, unable to connect to network ${argv.network}`) } -const solidityVersion = SOLIDITY_VERSION || '0.8.23' +const solidityVersion = SOLIDITY_VERSION || '0.8.28' const soliditySettings = SOLIDITY_SETTINGS ? JSON.parse(SOLIDITY_SETTINGS) : { - evmVersion: 'paris', - optimizer: { - enabled: true, - runs: 10_000_000, - }, - } + evmVersion: 'paris', + optimizer: { + enabled: true, + runs: 10_000_000, + }, + } const deterministicDeployment = (network: string): DeterministicDeploymentInfo => { const info = getSingletonFactoryInfo(parseInt(network)) @@ -68,11 +68,11 @@ const deterministicDeployment = (network: string): DeterministicDeploymentInfo = const customNetwork = NODE_URL ? { - custom: { - ...sharedNetworkConfig, - url: NODE_URL, - }, - } + custom: { + ...sharedNetworkConfig, + url: NODE_URL, + }, + } : {} const userConfig: HardhatUserConfig = {