I am trying to deploy a very simple ERC20 contract to mainnet using the OZ CLI. I already did it to ropsten with no issues. I Tried 2 times to mainnet and I receive this output:
“Transaction was not mined within 750 seconds, please make sure your transaction was properly sent. Be aware that it might still be mined!”
I understand that mainet is overcrowded. How can I make this work by increasing the gas price?
I can see the command does not accept a gasprice parameter.
Is there a place where I can configure a gasprice?
Is there a way to change this even if I have to do it at the source code? What would the procedure be?
Welcome to the community
Please note: we’ve decided it’s best to focus our upgradeability efforts on the Upgrades Plugins exclusively, and have halted development on the OpenZeppelin CLI. See: Building for interoperability: why we’re focusing on Upgrades Plugins
If you are deploying a non-upgradeable contract then you can deploy with Truffle, Hardhat or even Remix.
If you are deploying an upgradeable contract then you can use OpenZeppelin Upgrades Plugins for Truffle and Hardhat.
You can change the gas price being used in the network configuration.
Hi @abcoathup ! Thanks for your answer. I changed the network configuration and it worked!