Gas limit is defined in the network.js file
mainnet: {
provider: () => new HDWalletProvider(
process.env.PRIVATE_KEY, 'https://mainnet.infura.io/v3/projectID'
),
networkId: 1,
gas:2500000,
gasPrice:8e9
},
But I am receiving the error upon upgrading the contract.