Browse Source

Stayin alive

develop
Ezerous 6 years ago
parent
commit
fb5f2a7fb4
No known key found for this signature in database GPG Key ID: 262B2954BBA319E3
  1. 2
      contracts/Forum.sol
  2. 2
      contracts/Migrations.sol
  3. 4
      package.json
  4. 14
      truffle.js

2
contracts/Forum.sol

@ -1,4 +1,4 @@
pragma solidity ^0.4.23; pragma solidity ^0.4.25;
contract Forum { contract Forum {

2
contracts/Migrations.sol

@ -1,4 +1,4 @@
pragma solidity ^0.4.21; pragma solidity ^0.4.25;
contract Migrations { contract Migrations {
address public owner; address public owner;

4
package.json

@ -11,8 +11,8 @@
"drizzle-react": "^1.1.1", "drizzle-react": "^1.1.1",
"drizzle-react-components": "^1.1.0", "drizzle-react-components": "^1.1.0",
"eth-block-tracker-es5": "^2.3.2", "eth-block-tracker-es5": "^2.3.2",
"ipfs": "^0.28.2", "ipfs": "^0.30.0",
"orbit-db": "^0.19.7", "orbit-db": "^0.19.9",
"orbit-db-keystore": "^0.1.0", "orbit-db-keystore": "^0.1.0",
"prop-types": "^15.6.1", "prop-types": "^15.6.1",
"react": "^16.3.2", "react": "^16.3.2",

14
truffle.js

@ -1,6 +1,7 @@
module.exports = { module.exports = {
// See <http://truffleframework.com/docs/advanced/configuration> // See <http://truffleframework.com/docs/advanced/configuration>
// for more about customizing your Truffle configuration! // for more about customizing your Truffle configuration!
contracts_build_directory: path.join(__dirname, "src/build/contracts"),
networks: { networks: {
development: { development: {
host: "localhost", host: "localhost",
@ -8,10 +9,15 @@ module.exports = {
network_id: "*" // Match any network id network_id: "*" // Match any network id
} }
}, },
solc: { compilers:{
optimizer: { solc: {
enabled: true, version: "0.4.25",
runs: 500 settings:{
optimizer: {
enabled: true,
runs: 500
}
}
} }
} }
}; };

Loading…
Cancel
Save