I can't deploy lesson 3's code #11
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 12 replies
-
Thanks for making this question! How much Rinkeby ETH do you have in your metamask? |
Beta Was this translation helpful? Give feedback.
-
The explanation might be pretty simple... and has nothing to do with your contract (infact, if you just use contract test{} you will still have the same error)... it's because in the testnet (at least, idk about the mainnet, i suppose that @PatrickAlphaC might helps here) you can't send transaction while deploying contracts; if you set your value attribute on the left to 0 you will see that it will work fine, but if you set to something more than zero, it will fail EDIT: TLDR: |
Beta Was this translation helpful? Give feedback.
The explanation might be pretty simple... and has nothing to do with your contract (infact, if you just use contract test{} you will still have the same error)... it's because in the testnet (at least, idk about the mainnet, i suppose that @PatrickAlphaC might helps here) you can't send transaction while deploying contracts; if you set your value attribute on the left to 0 you will see that it will work fine, but if you set to something more than zero, it will fail
EDIT: TLDR:
Make sure your
value
is set to 0 when deploying.