Skip to content

Commit

Permalink
Use same Solidity compiler as '@account-abstraction/contracts' repo
Browse files Browse the repository at this point in the history
  • Loading branch information
forshtat committed Aug 16, 2024
1 parent d13b51d commit 370324c
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion contracts/Lock.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.19;
pragma solidity ^0.8.23;

// Uncomment this line to use console.log
// import "hardhat/console.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IRip7560Account.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.19;
pragma solidity ^0.8.23;

/**
* @title IRip7560Account
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IRip7560EntryPoint.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.19;
pragma solidity ^0.8.23;

interface IRip7560EntryPoint {
function acceptAccount(uint256 validAfter, uint256 validUntil) external;
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IRip7560Paymaster.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.19;
pragma solidity ^0.8.23;

/**
* @title IRip7560Paymaster
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IRip7560Transaction.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.19;
pragma solidity ^0.8.23;

struct RIP7560TransactionStruct {
address sender;
Expand Down
2 changes: 1 addition & 1 deletion contracts/predeploys/NonceManager.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;
pragma solidity 0.8.23;

/// @title NonceManager
/// @notice The NonceManager manages nonce of smart accounts using RIP-7560.
Expand Down
4 changes: 2 additions & 2 deletions contracts/test/NonceManager.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;
pragma solidity 0.8.23;

// Testing utilities
import { Test } from "forge-std/Test.sol";
Expand All @@ -10,7 +10,7 @@ contract NonceManagerTest is Test {
address private constant alice = 0x0000000000000000000000000000000000007777;
uint192 public aliceKey;
error InvalidLength();
NonceManager nonceManager;
NonceManager public nonceManager;

/// @dev Sets up the test suite.
function setUp() public virtual {
Expand Down
2 changes: 1 addition & 1 deletion contracts/utils/RIP7560Utils.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.19;
pragma solidity ^0.8.23;

import "../interfaces/IRip7560EntryPoint.sol";
import "../interfaces/IRip7560Transaction.sol";
Expand Down
2 changes: 1 addition & 1 deletion hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import "@nomicfoundation/hardhat-toolbox";
import "@nomicfoundation/hardhat-foundry"

const config: HardhatUserConfig = {
solidity: "0.8.19",
solidity: "0.8.23",
};

export default config;

0 comments on commit 370324c

Please sign in to comment.