Skip to content

Commit

Permalink
Update nix tarball and minimum solidity version
Browse files Browse the repository at this point in the history
Fixes #3.
  • Loading branch information
sveitser committed Aug 8, 2018
1 parent 8a60bc1 commit f2d9088
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 15 deletions.
2 changes: 1 addition & 1 deletion contracts/Foo.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity ^0.4.0;
pragma solidity ^0.4.24;

contract Foo {
function Foo() public {
Expand Down
2 changes: 1 addition & 1 deletion contracts/MyThrow.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity ^0.4.0;
pragma solidity ^0.4.24;

contract MyThrow {
function MyThrow() public {
Expand Down
8 changes: 4 additions & 4 deletions contracts/PisaChannel.sol
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Author: Patrick McCorry
// State channel construction from https://eprint.iacr.org/2018/582
// Can be used for any state channel application - assuming it implements the transition function
// Author: Patrick McCorry
// State channel construction from https://eprint.iacr.org/2018/582
// Can be used for any state channel application - assuming it implements the transition function

pragma solidity ^0.4.7;
pragma solidity ^0.4.24;

interface Application {

Expand Down
2 changes: 1 addition & 1 deletion contracts/PreimageManager.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity ^0.4.20;
pragma solidity ^0.4.24;

contract PreimageManager {
mapping ( bytes32 => uint ) timestamp;
Expand Down
2 changes: 1 addition & 1 deletion contracts/SpritesRegistry.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity ^0.4.20;
pragma solidity ^0.4.24;
// XXX enable returning structs from internal functions
pragma experimental ABIEncoderV2;

Expand Down
2 changes: 1 addition & 1 deletion contracts/Test.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity ^0.4.0;
pragma solidity ^0.4.24;
pragma experimental ABIEncoderV2;

contract Test {
Expand Down
2 changes: 1 addition & 1 deletion contracts/contractPay.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity ^0.4.20;
pragma solidity ^0.4.24;

// Note: Initial version does NOT support concurrent conditional payments!

Expand Down
2 changes: 1 addition & 1 deletion contracts/contractSprite.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity ^0.4.20;
pragma solidity ^0.4.24;

// External interface
interface PreimageManager {
Expand Down
2 changes: 1 addition & 1 deletion contracts/dappsys.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity ^0.4.19;
pragma solidity ^0.4.24;

/// math.sol -- mixin for inline numerical wizardry

Expand Down
5 changes: 2 additions & 3 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
with import (
builtins.fetchTarball {
# Tue Apr 17 15:50:00 HKT 2018 pipenv 11.10.0
url = "https://github.com/sveitser/nixpkgs/archive/835e86adfd33b10858751bf329a43e67ae89761f.tar.gz";
sha256 = "129wvirbp43n8hkz0lywzhdv1sa2cjxs4lwr7wasq7p3sa2zms6b";
url = "https://releases.nixos.org/nixpkgs/nixpkgs-18.09pre147700.03e47c388ac/nixexprs.tar.xz";
sha256 = "06prf50w9w5qkrjhxgj7dkwwxfanh9akv3qfb6ibh8mqp1jmnwqm";
}
) {};

Expand Down

0 comments on commit f2d9088

Please sign in to comment.