Hello, I am trying to deploy my smart contracts on Ethereum mainnet. During migration time I faced an error
“x” not deployed due to insufficient funds. I tested multiple times on several test networks like: rinkeby, ropsten and done my migration successfully. My balance for ropsten and rinkeby is the same as my main network account. But facing this problem in mainnet. can anyone help me?
Truffle configuration:
MainNet: {
host: "xx.xx.xx.xx",
port: 8545,
provider: function () {
return new HDWalletProvider(privKeys, "wss://mainnet.infura.io/ws/v3/xxxxxxxx")
},
network_id: 1,
timeoutBlocks: 200,
skipDryRun: true,
}