调整polygon testnet 发布脚本的超时设置
This commit is contained in:
parent
8a700c4275
commit
e6d5f3cf78
@ -81,19 +81,31 @@ module.exports = {
|
|||||||
// production: true // Treats this network as if it was a public net. (default: false)
|
// production: true // Treats this network as if it was a public net. (default: false)
|
||||||
// }
|
// }
|
||||||
polygon_testnet: {
|
polygon_testnet: {
|
||||||
provider: () => new HDWalletProvider(kccTestnetKey, `https://rpc-mumbai.maticvigil.com`),
|
provider: () => new HDWalletProvider({
|
||||||
|
privateKeys: [kccTestnetKey],
|
||||||
|
providerOrUrl: `https://rpc-mumbai.maticvigil.com`,
|
||||||
|
pollingInterval: 8000
|
||||||
|
}),
|
||||||
network_id: 80001,
|
network_id: 80001,
|
||||||
confirmations: 6,
|
confirmations: 6,
|
||||||
timeoutBlocks: 5000,
|
timeoutBlocks: 5000,
|
||||||
|
networkCheckTimeout: 10000000,
|
||||||
|
deploymentPollingInterval: 8000,
|
||||||
skipDryRun: true,
|
skipDryRun: true,
|
||||||
production: true,
|
production: true,
|
||||||
from: '0x50A8e60041A206AcaA5F844a1104896224be6F39'
|
from: '0x50A8e60041A206AcaA5F844a1104896224be6F39'
|
||||||
},
|
},
|
||||||
polygon: {
|
polygon: {
|
||||||
provider: () => new HDWalletProvider(mnemonic, `https://polygon-rpc.com`),
|
provider: () => new HDWalletProvider({
|
||||||
|
mnemonic: mnemonic,
|
||||||
|
providerOrUrl: `https://polygon-rpc.com`,
|
||||||
|
pollingInterval: 8000
|
||||||
|
}),
|
||||||
network_id: 137,
|
network_id: 137,
|
||||||
confirmations: 6,
|
confirmations: 6,
|
||||||
timeoutBlocks: 5000,
|
timeoutBlocks: 5000,
|
||||||
|
networkCheckTimeout: 10000000,
|
||||||
|
deploymentPollingInterval: 8000,
|
||||||
skipDryRun: true,
|
skipDryRun: true,
|
||||||
production: true,
|
production: true,
|
||||||
from: '0x565edA4ef351EB78F03B8AfCb6dCF02E29cAD62e'
|
from: '0x565edA4ef351EB78F03B8AfCb6dCF02E29cAD62e'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user