Skip to content

Commit

Permalink
Merge pull request #9 from rhinestonewtf/feat/reduce-solc-version
Browse files Browse the repository at this point in the history
feat: reduce solc version
  • Loading branch information
kopy-kat authored Oct 30, 2024
2 parents e8f2fa5 + e98b425 commit 7828d9a
Show file tree
Hide file tree
Showing 20 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion src/Simulator.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.26;
pragma solidity ^0.8.0;

import {
PackedUserOperation,
Expand Down
2 changes: 1 addition & 1 deletion src/SpecsParser.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.26;
pragma solidity ^0.8.0;

import {
IEntryPoint,

Check warning on line 5 in src/SpecsParser.sol

View workflow job for this annotation

GitHub Actions / lint / forge-lint

imported name IEntryPoint is not used
Expand Down
2 changes: 1 addition & 1 deletion src/lib/ERC4337.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.26;
pragma solidity ^0.8.0;

// ERC-4337 v0.7 imports
import { PackedUserOperation } from "account-abstraction/interfaces/PackedUserOperation.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Vm.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.26;
pragma solidity ^0.8.0;

import { Vm, VmSafe } from "forge-std/Vm.sol";

Expand Down
2 changes: 1 addition & 1 deletion test/Simulator.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.26;
pragma solidity ^0.8.0;

import { TestBaseUtil, PackedUserOperation } from "test/utils/TestBaseUtil.sol";
import { MockValidator } from "test/utils/MockValidator.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/SimulatorV060.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.26;
pragma solidity ^0.8.0;

import { TestBaseUtil, UserOperation } from "test/utils/TestBaseUtilV060.sol";
import { MockValidator } from "test/utils/MockValidator.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/specs-parser/EntryPoint.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.26;
pragma solidity ^0.8.0;

import { TestBaseUtil } from "test/utils/TestBaseUtil.sol";
import { TargetValidator } from "test/specs-parser/mocks/TargetValidator.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/specs-parser/Opcodes.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.26;
pragma solidity ^0.8.0;

import { TestBaseUtil } from "test/utils/TestBaseUtil.sol";
import { ERC4337SpecsParser } from "src/SpecsParser.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/specs-parser/Precompile.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.26;
pragma solidity ^0.8.0;

import { TestBaseUtil } from "test/utils/TestBaseUtil.sol";
import { TargetValidator } from "test/specs-parser/mocks/TargetValidator.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/specs-parser/Storage.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.26;
pragma solidity ^0.8.0;

import { TestBaseUtil } from "test/utils/TestBaseUtil.sol";
import { StorageValidator } from "test/specs-parser/mocks/StorageValidator.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/specs-parser/mocks/OpcodeValidator.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.26;
pragma solidity ^0.8.0;

import { PackedUserOperation, UserOperation } from "src/lib/ERC4337.sol";
import { IValidator } from "test/utils/IValidator.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/specs-parser/mocks/StorageValidator.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.26;
pragma solidity ^0.8.0;

import { PackedUserOperation, UserOperation } from "src/lib/ERC4337.sol";
import { IValidator } from "test/utils/IValidator.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/specs-parser/mocks/TargetValidator.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.26;
pragma solidity ^0.8.0;

import { PackedUserOperation, UserOperation } from "src/lib/ERC4337.sol";

Expand Down
2 changes: 1 addition & 1 deletion test/utils/IValidator.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.26;
pragma solidity ^0.8.0;

import { PackedUserOperation, UserOperation } from "src/lib/ERC4337.sol";

Expand Down
2 changes: 1 addition & 1 deletion test/utils/MockAccount.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.26;
pragma solidity ^0.8.0;

import { PackedUserOperation, UserOperation } from "src/lib/ERC4337.sol";
import { IValidator } from "./IValidator.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/utils/MockFactory.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.26;
pragma solidity ^0.8.0;

import { LibClone } from "solady/src/utils/LibClone.sol";

Expand Down
2 changes: 1 addition & 1 deletion test/utils/MockTargetAccount.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.26;
pragma solidity ^0.8.0;

import { PackedUserOperation, UserOperation } from "src/lib/ERC4337.sol";

Expand Down
2 changes: 1 addition & 1 deletion test/utils/MockValidator.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.26;
pragma solidity ^0.8.0;

import { PackedUserOperation, UserOperation } from "src/lib/ERC4337.sol";
import { IValidator } from "test/utils/IValidator.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/utils/TestBaseUtil.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.26;
pragma solidity ^0.8.0;

import "forge-std/Test.sol";
import { MockAccount } from "./MockAccount.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/utils/TestBaseUtilV060.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.26;
pragma solidity ^0.8.0;

import "forge-std/Test.sol";
import { MockAccount } from "./MockAccount.sol";
Expand Down

0 comments on commit 7828d9a

Please sign in to comment.