creation of FundMe errored: VM error: revert. #177
-
The contract is compiling successfully, but when I deploy the contract causing the revert. Note : This is section 4 Remix FundMe.sol Actual complete code is :
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hello, |
Beta Was this translation helpful? Give feedback.
-
Ok, I'll check it out.
…On Wed, 31 Aug 2022 at 17:25, HANNAN ASHRAF ***@***.***> wrote:
hey i m getting the same error as you said and i tried refreshing the
remix editor as well and redeploy the contract as well but it did not work
anyone can help?
—
Reply to this email directly, view it on GitHub
<#177 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJYGP7MOEZHXKXTZK4CCTCLV35FNHANCNFSM5YCTEXAA>
.
You are receiving this because you are subscribed to this thread.Message
ID:
<smartcontractkit/full-blockchain-solidity-course-js/repo-discussions/177/comments/3517438
@github.com>
|
Beta Was this translation helpful? Give feedback.
Hello,
I tried deploying your code and it went through fine. Please make sure you're sending correct eth amount using eth to wei convertor. (In your case, value should be greater than 1e18 wei)
For 2 eth, set value to 2000000000000000000