Skip to content

Commit

Permalink
Merge pull request #2 from worldcoin/karan-add-virtual-safe-modules
Browse files Browse the repository at this point in the history
bump version
  • Loading branch information
karankurbur authored Dec 23, 2024
2 parents 60dc191 + 7a5112b commit 9abf69e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion modules/4337/contracts/Safe4337Module.sol
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion modules/4337/contracts/SafeModuleSetup.sol
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
24 changes: 12 additions & 12 deletions modules/4337/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand All @@ -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 = {
Expand Down

0 comments on commit 9abf69e

Please sign in to comment.