Skip to content

Commit

Permalink
fix() force 0.8.19
Browse files Browse the repository at this point in the history
  • Loading branch information
immortal-tofu committed Sep 25, 2023
1 parent d0e11d1 commit cb1b8a2
Show file tree
Hide file tree
Showing 18 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ pnpm add fhevm
```solidity
// SPDX-License-Identifier: BSD-3-Clause-Clear
pragma solidity ^0.8.19;
pragma solidity 0.8.19;
import "fhevm/lib/TFHE.sol";
Expand Down
2 changes: 1 addition & 1 deletion abstracts/EIP712WithModifier.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: BSD-3-Clause-Clear

pragma solidity ^0.8.19;
pragma solidity 0.8.19;

import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/utils/cryptography/EIP712.sol";
Expand Down
6 changes: 3 additions & 3 deletions codegen/templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export function implSol(operators: Operator[]): string {
res.push(`
// SPDX-License-Identifier: BSD-3-Clause-Clear
pragma solidity ^0.8.19;
pragma solidity 0.8.19;
${fheLibInterface}
Expand Down Expand Up @@ -143,7 +143,7 @@ export function tfheSol(operators: Operator[], supportedBits: number[]): [string

res.push(`// SPDX-License-Identifier: BSD-3-Clause-Clear
pragma solidity ^0.8.19;
pragma solidity 0.8.19;
${commonSolLib()}
Expand Down Expand Up @@ -516,7 +516,7 @@ export function precompiles(precompiles: Precompile[]): string {

res.push(`// SPDX-License-Identifier: BSD-3-Clause-Clear
pragma solidity ^0.8.19;
pragma solidity 0.8.19;
library Precompiles {
`);
Expand Down
2 changes: 1 addition & 1 deletion codegen/testgen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export function generateSmartContract(os: OverloadShard): string {

res.push(`
// SPDX-License-Identifier: BSD-3-Clause-Clear
pragma solidity ^0.8.19;
pragma solidity 0.8.19;
import "../../lib/TFHE.sol";
contract TFHETestSuite${os.shardNumber} {
Expand Down
2 changes: 1 addition & 1 deletion examples/BlindAuction.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: BSD-3-Clause-Clear

pragma solidity ^0.8.19;
pragma solidity 0.8.19;

import "../lib/TFHE.sol";

Expand Down
2 changes: 1 addition & 1 deletion examples/CMUX.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: BSD-3-Clause-Clear

pragma solidity ^0.8.19;
pragma solidity 0.8.19;

import "../abstracts/EIP712WithModifier.sol";
import "../lib/TFHE.sol";
Expand Down
2 changes: 1 addition & 1 deletion examples/EIP712.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: BSD-3-Clause-Clear

pragma solidity ^0.8.19;
pragma solidity 0.8.19;

import "../abstracts/EIP712WithModifier.sol";

Expand Down
2 changes: 1 addition & 1 deletion examples/EncryptedERC20.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: BSD-3-Clause-Clear

pragma solidity ^0.8.19;
pragma solidity 0.8.19;

import "../abstracts/EIP712WithModifier.sol";

Expand Down
2 changes: 1 addition & 1 deletion examples/Governor/Comp.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BSD-3-Clause
pragma solidity ^0.8.19;
pragma solidity 0.8.19;

import "../../abstracts/EIP712WithModifier.sol";

Expand Down
2 changes: 1 addition & 1 deletion examples/Governor/GovernorZama.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BSD-3-Clause
pragma solidity ^0.8.19;
pragma solidity 0.8.19;

import "../../lib/TFHE.sol";

Expand Down
2 changes: 1 addition & 1 deletion examples/OptimisticRequire.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: BSD-3-Clause-Clear

pragma solidity ^0.8.19;
pragma solidity 0.8.19;

import "../lib/TFHE.sol";

Expand Down
2 changes: 1 addition & 1 deletion examples/Rand.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: BSD-3-Clause-Clear

pragma solidity ^0.8.19;
pragma solidity 0.8.19;

import "../lib/TFHE.sol";

Expand Down
2 changes: 1 addition & 1 deletion examples/tests/TFHEManualTestSuite.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BSD-3-Clause-Clear
pragma solidity ^0.8.19;
pragma solidity 0.8.19;

import "../../lib/TFHE.sol";

Expand Down
2 changes: 1 addition & 1 deletion examples/tests/TFHETestSuite1.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BSD-3-Clause-Clear
pragma solidity ^0.8.19;
pragma solidity 0.8.19;

import "../../lib/TFHE.sol";

Expand Down
2 changes: 1 addition & 1 deletion examples/tests/TFHETestSuite2.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BSD-3-Clause-Clear
pragma solidity ^0.8.19;
pragma solidity 0.8.19;

import "../../lib/TFHE.sol";

Expand Down
2 changes: 1 addition & 1 deletion examples/tests/TFHETestSuite3.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BSD-3-Clause-Clear
pragma solidity ^0.8.19;
pragma solidity 0.8.19;

import "../../lib/TFHE.sol";

Expand Down
2 changes: 1 addition & 1 deletion lib/Impl.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: BSD-3-Clause-Clear

pragma solidity ^0.8.19;
pragma solidity 0.8.19;

interface FhevmLib {
function fheAdd(uint256 lhs, uint256 rhs, bytes1 scalarByte) external pure returns (uint256 result);
Expand Down
2 changes: 1 addition & 1 deletion lib/TFHE.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: BSD-3-Clause-Clear

pragma solidity ^0.8.19;
pragma solidity 0.8.19;

type ebool is uint256;
type euint8 is uint256;
Expand Down

0 comments on commit cb1b8a2

Please sign in to comment.