You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to deploy the "deploy.js" (https://pastecord.com/dufulyjoti.js) file but this error keeps popping on " error: Error: insufficient funds for gas * price + value: balance 0, tx cost 4536579907200000, overshot 4536579907200000"
i tried "const contract = await contractFactory.deploy({gasLimit: 2400000 });"
and later i i tried "const contract = await contractFactory.deploy({gasLimit: 2400000 ,value: value: ethers.utils.parseUnits('0.07')});" which results into "Error: non-payable constructor cannot override value (operation="overrides.value", value={"type":"BigNumber","hex":"0xf8b0a10e470000"}, code=UNSUPPORTED_OPERAT
ION, version=contracts/5.7.0)"
The origianal code has " Error: cannot estimate gas; transaction may fail or may require manual gas limit" with "const contract = await contractFactory.deploy();"
how can i resolve this error ,i have 1.8388
SepoliaETH on my metamask.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I tried to deploy the "deploy.js" (https://pastecord.com/dufulyjoti.js) file but this error keeps popping on " error: Error: insufficient funds for gas * price + value: balance 0, tx cost 4536579907200000, overshot 4536579907200000"
i tried "const contract = await contractFactory.deploy({gasLimit: 2400000 });"
and later i i tried "const contract = await contractFactory.deploy({gasLimit: 2400000 ,value: value: ethers.utils.parseUnits('0.07')});" which results into "Error: non-payable constructor cannot override value (operation="overrides.value", value={"type":"BigNumber","hex":"0xf8b0a10e470000"}, code=UNSUPPORTED_OPERAT
ION, version=contracts/5.7.0)"
The origianal code has " Error: cannot estimate gas; transaction may fail or may require manual gas limit" with "const contract = await contractFactory.deploy();"
how can i resolve this error ,i have 1.8388
SepoliaETH on my metamask.
Beta Was this translation helpful? Give feedback.
All reactions