From 1ed9be60bdca05d1b6c1992062d72146972aab6a Mon Sep 17 00:00:00 2001 From: Alex Forshtat Date: Wed, 14 Aug 2024 23:08:12 +0200 Subject: [PATCH] Set the same Solidity version across configurations --- .github/workflows/build.yml | 4 +++- contracts/predeploys/NonceManager.sol | 2 +- contracts/test/NonceManager.t.sol | 2 +- hardhat.config.ts | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c06d4dd..9144144 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,9 @@ jobs: - name: Install Foundry uses: foundry-rs/foundry-toolchain@v1 - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 + with: + submodules: 'true' - uses: actions/cache@v2 with: path: node_modules diff --git a/contracts/predeploys/NonceManager.sol b/contracts/predeploys/NonceManager.sol index ec2fb6f..3de18dd 100644 --- a/contracts/predeploys/NonceManager.sol +++ b/contracts/predeploys/NonceManager.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.15; +pragma solidity 0.8.19; /// @title NonceManager /// @notice The NonceManager manages nonce of smart accounts using RIP-7560. diff --git a/contracts/test/NonceManager.t.sol b/contracts/test/NonceManager.t.sol index 00cbc71..03f187f 100644 --- a/contracts/test/NonceManager.t.sol +++ b/contracts/test/NonceManager.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.15; +pragma solidity 0.8.19; // Testing utilities import { Test } from "forge-std/Test.sol"; diff --git a/hardhat.config.ts b/hardhat.config.ts index 34a0a06..c919abb 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -3,7 +3,7 @@ import "@nomicfoundation/hardhat-toolbox"; import "@nomicfoundation/hardhat-foundry" const config: HardhatUserConfig = { - solidity: "0.8.24", + solidity: "0.8.19", }; export default config;