Skip to content

Commit

Permalink
Remove 'truffle-v0.4' of npm module
Browse files Browse the repository at this point in the history
  • Loading branch information
masaun committed Feb 5, 2020
1 parent 45eedce commit 659eb4c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
15 changes: 11 additions & 4 deletions migrations/1_initial_migration.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
module.exports = function(deployer, network, accounts) {
if (network == "production")
deployer.deploy(artifacts.require("Migrations"));
};
const Migrations = artifacts.require("Migrations");

module.exports = function(deployer) {
deployer.deploy(Migrations);
};


// module.exports = function(deployer, network, accounts) {
// if (network == "production")
// deployer.deploy(artifacts.require("Migrations"));
// };
4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
"type": "git",
"url": "https://github.com/bancorprotocol/contracts"
},
"engines": {
"npm": "^3.0.0"
},
"scripts": {
"install": "node scripts/fix-modules.js",
"build": "node scripts/rebuild-all.js",
Expand All @@ -28,7 +25,6 @@
"dependencies": {
"decimal.js": "10.2.0",
"solidity-coverage": "0.6.7",
"truffle": "4.1.16",
"truffle-contract": "3.0.8",
"truffle-flattener": "1.4.2",
"web3": "1.2.1",
Expand Down
7 changes: 4 additions & 3 deletions truffle-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ module.exports = {
//return new HDWalletProvider("Replace here with your mnemonic word", process.env.RPC_URL_ROPSTEN)
},
network_id: '3',
//gas: 4465030,
//gasPrice: 10000000000,
skipDryRun: true
gas: 2000000, // Gas limit used for deploys
//gas: 6721975, // Gas limit used for deploys
gasPrice: 20000000000,
skipDryRun: true
},
development: {
host: "localhost",
Expand Down

0 comments on commit 659eb4c

Please sign in to comment.