Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotfix ropsten migration #139

Open
wants to merge 2 commits into
base: staging
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 12 additions & 9 deletions truffle.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ if (fs.existsSync('secrets.json')) {
secrets = JSON.parse(fs.readFileSync('secrets.json', 'utf8'))
mnemonic = secrets.mnemonic
} else {
console.log('No secrets.json found. If you are trying to publish EPM ' +
'this will fail. Otherwise, you can ignore this message!')
console.log(
'No secrets.json found. If you are trying to publish EPM ' +
'this will fail. Otherwise, you can ignore this message!'
)
mnemonic = ''
}

Expand All @@ -25,18 +27,19 @@ module.exports = {
// from - default address to use for any transaction Truffle makes during migrations
},
ropsten: {
provider: new HDWalletProvider(mnemonic, 'https://ropsten.infura.io'),
network_id: '3'
provider: new HDWalletProvider(mnemonic, 'https://ropsten.infura.io/'),
network_id: '3',
gas: 5300000
},
testrpc: {
network_id: 'default'
},
coverage: {
host: "localhost",
network_id: "*",
port: 8555,
host: 'localhost',
network_id: '*',
port: 8555,
gas: 0xfffffffffff,
gasPrice: 0x01
},
gasPrice: 0x01
}
}
}