Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed and More Consistent Pragmas #458

Merged
merged 3 commits into from
Jul 5, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.0;
pragma solidity 0.8.24;

import {SignatureValidator} from "../base/SignatureValidator.sol";
import {ISafe} from "../interfaces/ISafe.sol";
Expand Down
2 changes: 1 addition & 1 deletion modules/passkey/contracts/SafeWebAuthnSignerFactory.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.0;
pragma solidity 0.8.24;

import {ISafeSignerFactory} from "./interfaces/ISafeSignerFactory.sol";
import {SafeWebAuthnSignerProxy} from "./SafeWebAuthnSignerProxy.sol";
Expand Down
2 changes: 1 addition & 1 deletion modules/passkey/contracts/SafeWebAuthnSignerProxy.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: LGPL-3.0-only
/* solhint-disable no-complex-fallback */
pragma solidity >=0.8.0;
pragma solidity ^0.8.20;

import {P256} from "./libraries/WebAuthn.sol";

Expand Down
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.0;
pragma solidity ^0.8.20;

import {SignatureValidator} from "./base/SignatureValidator.sol";
import {P256, WebAuthn} from "./libraries/WebAuthn.sol";
Expand Down
2 changes: 1 addition & 1 deletion modules/passkey/contracts/base/SignatureValidator.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.0;
pragma solidity ^0.8.20;

import {ERC1271} from "../libraries/ERC1271.sol";

Expand Down
2 changes: 1 addition & 1 deletion modules/passkey/contracts/interfaces/IP256Verifier.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: LGPL-3.0-only
/* solhint-disable payable-fallback */
pragma solidity ^0.8.0;
pragma solidity ^0.8.20;

/**
* @title P-256 Elliptic Curve Verifier.
Expand Down
2 changes: 1 addition & 1 deletion modules/passkey/contracts/interfaces/ISafe.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.0 <0.9.0;
pragma solidity ^0.8.20;

/**
* @title Safe Smart Account
Expand Down
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.0 <0.9.0;
pragma solidity ^0.8.20;

import {P256} from "../libraries/P256.sol";

Expand Down
2 changes: 1 addition & 1 deletion modules/passkey/contracts/libraries/ERC1271.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.0;
pragma solidity ^0.8.20;

/**
* @title ERC-1271 Magic Values
Expand Down
2 changes: 1 addition & 1 deletion modules/passkey/contracts/libraries/P256.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.0;
pragma solidity ^0.8.20;

import {IP256Verifier} from "../interfaces/IP256Verifier.sol";

Expand Down
2 changes: 1 addition & 1 deletion modules/passkey/contracts/libraries/WebAuthn.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.0;
pragma solidity ^0.8.20;

import {P256} from "./P256.sol";

Expand Down
2 changes: 1 addition & 1 deletion modules/passkey/contracts/test/Benchmarker.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.0;
pragma solidity ^0.8.20;

contract Benchmarker {
function call(address to, bytes memory data) external returns (uint256 gas, bytes memory returnData) {
Expand Down
2 changes: 1 addition & 1 deletion modules/passkey/contracts/test/DummyP256Verifier.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: LGPL-3.0-only
/* solhint-disable no-complex-fallback */
/* solhint-disable payable-fallback */
pragma solidity ^0.8.0;
pragma solidity ^0.8.20;

import {IP256Verifier} from "../interfaces/IP256Verifier.sol";

Expand Down
2 changes: 1 addition & 1 deletion modules/passkey/contracts/test/TestDependencies.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: LGPL-3.0-only
/* solhint-disable no-global-import */
pragma solidity >=0.8.0;
pragma solidity ^0.8.20;

import "@account-abstraction/contracts/interfaces/IEntryPoint.sol";
import "@account-abstraction/contracts/samples/VerifyingPaymaster.sol";
Expand Down
2 changes: 1 addition & 1 deletion modules/passkey/contracts/test/TestP256Lib.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.0;
pragma solidity ^0.8.20;

import {IP256Verifier, P256} from "../libraries/P256.sol";

Expand Down
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.0;
pragma solidity ^0.8.20;

import {SafeWebAuthnSharedSigner} from "../4337/SafeWebAuthnSharedSigner.sol";

Expand Down
2 changes: 1 addition & 1 deletion modules/passkey/contracts/test/TestWebAuthnLib.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.0;
pragma solidity ^0.8.20;

import {P256, WebAuthn} from "../libraries/WebAuthn.sol";

Expand Down
Loading