Skip to content

Commit 76fa45e

Browse files
committed
Solidity bump to 8.20
1 parent 49f6f40 commit 76fa45e

9 files changed

+9
-9
lines changed

contracts/Autopay.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity 0.8.3;
2+
pragma solidity 0.8.20;
33

44
//TODO fix import paths
55
import {UsingFetchUpgradeReady} from "usingfetch/contracts/UsingFetchUpgradeReady.sol";

contracts/QueryDataStorage.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity 0.8.3;
2+
pragma solidity 0.8.20;
33

44
/**
55
@author Fetch Inc.

contracts/interfaces/IERC20.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity 0.8.3;
2+
pragma solidity 0.8.20;
33

44
interface IERC20 {
55
function transfer(address _to, uint256 _amount) external returns(bool);

contracts/interfaces/IQueryDataStorage.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.0;
2+
pragma solidity 0.8.20;
33

44
interface IQueryDataStorage {
55
function storeData(bytes memory _queryData) external;

contracts/testing/AutopayMock.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity 0.8.3;
2+
pragma solidity 0.8.20;
33

44
import "../Autopay.sol";
55

contracts/testing/FetchPlayground.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.0;
2+
pragma solidity 0.8.20;
33

44
contract FetchPlayground {
55
// Events

contracts/testing/TestToken.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity 0.8.3;
2+
pragma solidity 0.8.20;
33

44
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
55

contracts/testing/TipAndReport.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity 0.8.3;
2+
pragma solidity 0.8.20;
33

44
import "../Autopay.sol";
55
import "./FetchPlayground.sol";

hardhat.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ require("dotenv").config();
1515
solidity: {
1616
compilers: [
1717
{
18-
version: "0.8.3",
18+
version: "0.8.20",
1919
settings: {
2020
optimizer: {
2121
enabled: true,

0 commit comments

Comments
 (0)