All Questions
Tagged with gas-estimate contract-deployment
8 questions with no upvoted or accepted answers
3
votes
2
answers
3k
views
Constantly getting "Gas estimation failed" error when attempting to deploy ERC20 Token contract on Rinkeby testnet
I have included the code for the contract below. The error I get when attempting to deploy in remix via metamask is:
Gas estimation errored with the following message (see below). The transaction ...
1
vote
0
answers
1k
views
Hardhat estimatedGas error on smart contract deployment
I'm getting the following error when trying to deploy to BSC testnet:
Hardhat Error: cannot estimate gas; transaction may fail or may require manual gas limit (error={"name":"...
1
vote
0
answers
404
views
Contract deploy estimateGas undefined
When ti try to estimate gas for my contract to deploy, I always get undefined result.
This is my code:
const toDeploy = contract.deploy({
data: '0x' + bytecode,
arguments: [[web3.utils....
0
votes
1
answer
417
views
Estimating Gas Cost for Smart Contract Deployment Using Foundry
I'm trying to estimate the gas cost for deploying a smart contract using Foundry. Can someone provide guidance on how to do this accurately?
0
votes
0
answers
28
views
cannot estimate gas error when deploying with solidity-create2-deployer
I continuously get the cannot estimate gas error when attempting to deploy a contract using the solidity-create2-deployer contract and I'm clueless as to where the error arises.
find my code below
...
0
votes
0
answers
19
views
Why can't the gas be estimated?
I'm trying to use another contract to give my leasingContracts unique IDs, but I can't call the function as the code crashes, and I don't understand why.
This is the contract for IDs:
// SPDX-License-...
0
votes
0
answers
23
views
Someone can help me with thist issued: Gas estimation errored with the following message (see below)
Some one can help me to solve this issue, I'm student and I try to deploy a Smart Contract for a practic, I must Deploy 3 contract, When I Try to deploy the last one it show me an error "Gas ...
0
votes
1
answer
428
views
Error while deploying smart contract on mainnet of ethereum
when I deploy a smart contract on Goerli testnet then it will easily be deployed but when I try to deploy the same contract on mainnet then it gives me this particular error even I have ethers in my ...