Skip to content

Commit

Permalink
chore: bump solc version to 0.8.23
Browse files Browse the repository at this point in the history
  • Loading branch information
fedealconada committed Jan 5, 2024
1 parent b9911f0 commit 72b57aa
Show file tree
Hide file tree
Showing 17 changed files with 18 additions and 17 deletions.
2 changes: 1 addition & 1 deletion foundry.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[profile.default]
solc = "0.8.17"
solc = "0.8.23"
src = 'src'
out = 'out'
libs = ['lib']
Expand Down
2 changes: 1 addition & 1 deletion src/ETHPriceIsRight.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;
pragma solidity ^0.8.23;

import {IETHPriceIsRight} from "./interfaces/IETHPriceIsRight.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/Faucet.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;
pragma solidity ^0.8.23;

import {IFaucet} from "./interfaces/IFaucet.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/KintoID.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;
pragma solidity ^0.8.23;

/* External Imports */
import "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/IKYCViewer.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.12;
pragma solidity ^0.8.23;

import "./IKintoID.sol";
import "./IKintoWalletFactory.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/libraries/ByteSignature.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;
pragma solidity ^0.8.23;

library ByteSignature {
function extractTwoSignatures(bytes memory _fullSignature)
Expand Down
2 changes: 1 addition & 1 deletion src/paymasters/SponsorPaymaster.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;
pragma solidity ^0.8.23;

/* solhint-disable reason-string */

Expand Down
2 changes: 1 addition & 1 deletion src/proxy/SafeBeaconProxy.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;
pragma solidity ^0.8.23;

import {UpgradeableBeacon} from "@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.sol";
import {BeaconProxy} from "@openzeppelin/contracts/proxy/beacon/BeaconProxy.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/sample/Counter.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;
pragma solidity ^0.8.23;

contract Counter {
uint256 public count;
Expand Down
2 changes: 1 addition & 1 deletion src/tokens/EngenCredits.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;
pragma solidity ^0.8.23;

import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC20BurnableUpgradeable.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/viewers/KYCViewer.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;
pragma solidity ^0.8.23;

import "@openzeppelin/contracts/utils/Create2.sol";
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/wallet/KintoWallet.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;
pragma solidity ^0.8.23;

import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/wallet/KintoWalletFactory.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;
pragma solidity ^0.8.23;

import "@openzeppelin/contracts/utils/Create2.sol";
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/DeployTests.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.12;
pragma solidity ^0.8.23;

import "../src/wallet/KintoWallet.sol";
import "../src/wallet/KintoWalletFactory.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/EngenCredits.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;
pragma solidity ^0.8.23;

import "../src/tokens/EngenCredits.sol";
import "forge-std/Test.sol";
Expand Down
3 changes: 2 additions & 1 deletion test/KintoWallet.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,8 @@ contract KintoWalletTest is AATestScaffolding, UserOp {
// sender prefunds the contract
vm.deal(address(_kintoWalletv1), 1 ether);
vm.prank(address(_kintoWalletv1));
payable(address(counter)).call{value: 1 ether}("");
(bool success,) = payable(address(counter)).call{value: 1 ether}("");
assertEq(success, true);

UserOperation[] memory userOps = new UserOperation[](2);

Expand Down
2 changes: 1 addition & 1 deletion test/SponsorPaymastExploit.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ contract MyOpCreator is UserOp, KYCSignature {
uint256 value,
bytes calldata _bytesOp,
address _paymaster
) public returns (UserOperation memory op) {
) public view returns (UserOperation memory op) {
op = UserOperation({
sender: _account,
nonce: nonce,
Expand Down

0 comments on commit 72b57aa

Please sign in to comment.