From fb5f2a7fb437b1c66e5693f8041f60f6a9255c52 Mon Sep 17 00:00:00 2001 From: Ezerous Date: Thu, 14 Feb 2019 16:23:12 +0200 Subject: [PATCH] Stayin alive --- contracts/Forum.sol | 2 +- contracts/Migrations.sol | 2 +- package.json | 4 ++-- truffle.js | 14 ++++++++++---- 4 files changed, 14 insertions(+), 8 deletions(-) diff --git a/contracts/Forum.sol b/contracts/Forum.sol index 8fc94e9..994ef90 100644 --- a/contracts/Forum.sol +++ b/contracts/Forum.sol @@ -1,4 +1,4 @@ -pragma solidity ^0.4.23; +pragma solidity ^0.4.25; contract Forum { diff --git a/contracts/Migrations.sol b/contracts/Migrations.sol index 184150a..e347c95 100644 --- a/contracts/Migrations.sol +++ b/contracts/Migrations.sol @@ -1,4 +1,4 @@ -pragma solidity ^0.4.21; +pragma solidity ^0.4.25; contract Migrations { address public owner; diff --git a/package.json b/package.json index e7d00ad..23c51f8 100644 --- a/package.json +++ b/package.json @@ -11,8 +11,8 @@ "drizzle-react": "^1.1.1", "drizzle-react-components": "^1.1.0", "eth-block-tracker-es5": "^2.3.2", - "ipfs": "^0.28.2", - "orbit-db": "^0.19.7", + "ipfs": "^0.30.0", + "orbit-db": "^0.19.9", "orbit-db-keystore": "^0.1.0", "prop-types": "^15.6.1", "react": "^16.3.2", diff --git a/truffle.js b/truffle.js index a308ced..8fff7d7 100644 --- a/truffle.js +++ b/truffle.js @@ -1,6 +1,7 @@ module.exports = { // See // for more about customizing your Truffle configuration! + contracts_build_directory: path.join(__dirname, "src/build/contracts"), networks: { development: { host: "localhost", @@ -8,10 +9,15 @@ module.exports = { network_id: "*" // Match any network id } }, - solc: { - optimizer: { - enabled: true, - runs: 500 + compilers:{ + solc: { + version: "0.4.25", + settings:{ + optimizer: { + enabled: true, + runs: 500 + } + } } } };