Update truffle config for ropsten
We removed hardcoded link to infura API. We switched to Alchemy.
Additionally we provide the address in CI as a environment variable.
This is consistent with other projects.
We also increased gas limit and configured dry run skip as this is also
consistent with other keep projects.
@@ -67,10 +67,11 @@ module.exports = {
ropsten: {
provider: function() {
- return new HDWalletProvider(process.env.CONTRACT_OWNER_ETH_ACCOUNT_PRIVATE_KEY, "https://ropsten.infura.io/v3/59fb36a36fa4474b890c13dd30038be5")
+ return new HDWalletProvider(process.env.CONTRACT_OWNER_ETH_ACCOUNT_PRIVATE_KEY, process.env.ETH_HOSTNAME)
},
- gas: 6721975,
- network_id: 3
+ gas: 8000000,
+ network_id: 3,
+ skipDryRun: true
},
mainnet: {
