Skip to content

Commit

Permalink
Merge pull request #189 from keep-network/solidity
Browse files Browse the repository at this point in the history
Bump up solidity version to 0.8.17

Bumping up solidity version to the most recent one before deployment.
  • Loading branch information
nkuba committed Sep 28, 2022
2 parents aaeab6f + e900fb8 commit dd9a109
Show file tree
Hide file tree
Showing 19 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion contracts/Branch.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity 0.8.9;
pragma solidity 0.8.17;

import "./Constants.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/Chaosnet.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity 0.8.9;
pragma solidity 0.8.17;

/// @title Chaosnet
/// @notice This is a beta staker program for stakers willing to go the extra
Expand Down
2 changes: 1 addition & 1 deletion contracts/Constants.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity 0.8.9;
pragma solidity 0.8.17;

library Constants {
////////////////////////////////////////////////////////////////////////////
Expand Down
2 changes: 1 addition & 1 deletion contracts/Leaf.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity 0.8.9;
pragma solidity 0.8.17;

import "./Constants.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/Migrations.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity 0.8.9;
pragma solidity 0.8.17;

contract Migrations {
address public owner;
Expand Down
2 changes: 1 addition & 1 deletion contracts/Position.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity 0.8.9;
pragma solidity 0.8.17;

import "./Constants.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/RNG.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity 0.8.9;
pragma solidity 0.8.17;

import "./Leaf.sol";
import "./Constants.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/Rewards.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity 0.8.9;
pragma solidity 0.8.17;

/// @title Rewards
/// @notice Rewards are allocated proportionally to operators
Expand Down
2 changes: 1 addition & 1 deletion contracts/SortitionPool.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity 0.8.9;
pragma solidity 0.8.17;

import "@thesis/solidity-contracts/contracts/token/IERC20WithPermit.sol";
import "@thesis/solidity-contracts/contracts/token/IReceiveApproval.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/SortitionTree.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity 0.8.9;
pragma solidity 0.8.17;

import "./Branch.sol";
import "./Position.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/test/BranchStub.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity 0.8.9;
pragma solidity 0.8.17;

import "../../contracts/Branch.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/test/LeafStub.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity 0.8.9;
pragma solidity 0.8.17;

import "../Leaf.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/test/PositionStub.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity 0.8.9;
pragma solidity 0.8.17;

import "../../contracts/Position.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/test/RNGStub.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity 0.8.9;
pragma solidity 0.8.17;

import "../../contracts/RNG.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/test/RewardsStub.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity 0.8.9;
pragma solidity 0.8.17;

import "../../contracts/Rewards.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/test/SortitionTreeStub.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity 0.8.9;
pragma solidity 0.8.17;

import "../../contracts/SortitionTree.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/test/TestBranch.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity 0.8.9;
pragma solidity 0.8.17;

import "../Branch.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/test/TokenStub.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity 0.8.9;
pragma solidity 0.8.17;

import "@thesis/solidity-contracts/contracts/token/ERC20WithPermit.sol";
import "@thesis/solidity-contracts/contracts/token/IReceiveApproval.sol";
Expand Down
2 changes: 1 addition & 1 deletion hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const config: HardhatUserConfig = {
solidity: {
compilers: [
{
version: "0.8.9",
version: "0.8.17",
},
],
},
Expand Down

0 comments on commit dd9a109

Please sign in to comment.