Hi @Pellerin
I also had issues with metamask this days, reloading remix and logout login from metamask helps to solve it
I set the ENVIRONMENT to Injected Web3 but a connection is not made to MetaMask/Ropsten Test Network ::
Hello, Gabba - I refreshed the page (CHROME) and connected to MetaMask and completed the task. Thanks âŚ
Thank you Philip and Ivan for making this course! One day I was downtown and I got stopped by a guy who asked me to write on a big board what my dream was. I wrote solidity because I wanted to learn it after starting in the academy and after having a lot of bad experiences with 3rd parties in general in society. Great course!
@filip Thank you so much for this amazing course! I would really love to do a project on my own now, but I canât think of anything that may be suitable at my current level of expertise. Any recommendations?
@FilipâŚ
Iâm not sure what all is going on.
The gas link you shared went to a non-existent page, so I waybacked and got it.
Interesting.
Also,
I couldnât get my external contract to interact with HelloWorld even after I copy/pasted your code. I think itâs a Remix issue. All morning long has been calling HelloWorld undeployable because itâs âabstractâ, roughly 3 out of 4 times, then when it did deploy it called errors that I wasnât submitting eth, which I was, when I was trying to create a personâŚ
This same error occurred both in External and in HelloWorld.
I got HelloWorld happy again, but still no External cooperation.
Hoping it works on MetaMask.
Hi @petra
In remix you have to select the version of the compiler before compiling the smart contract, i think your error come from this.
Try to use the same version as the one at the tope of your solidity contract
I am having the same issue as @petra. I thought it may have been an error related to my code, so I used the code that was provided in Github. However, there is no external cooperation either for me. Im guessing there is an issue with Remix? If you have any other solutions in mind, please let me know.
I also ran into another problem. I tried transferring 1 Eth from the Ropsten Ethereum Faucet. The block has been pending for a while, but in the video it went through very quickly. Does anyone have any ideas on how to fix this?
Thank you!
This is the error I get @filip
transact to ExternalContract.externalCreatePerson errored: VM error: revert.
revert The transaction has been reverted to the initial state.
Note: The called function should be payable if you send value and the value you send should be less than your current balance. Debug the transaction to get more information.
Hi @filip,
I cannot switch to injected web3 on remix, it is stating I do not have a web3 provider. I do have metamask installed on my bravo browser however.
Hi @chaneltiana
EDIT: Make sure you have selected the right contract in the contract windows, you need to deploy HelloWorld, not the abstract contract
Use to link to get eth from the testnet
https://faucet.ropsten.be/
Is your createPerson method have the keyword payable ?
function createPerson(string memory name, uint age, uint height) public payable costs(1 ether)
Did you send 1 ETH or more when you are calling this method ?
Did you change you Environment to âInject Web3â ?
Do you have ETh on your metamask account ?
I tried and itâs still working so the issue come from your remix configuration.
What do you mean ?
The âabstractâ error sent by the compiler is caused by a modification between solidity 0.5.X and 0.6.X
So as i said to petra you should check that you are using the compiler version 0.5.12
Hi @mjwatson10
Are you logged in Metamask, did you selected the ropsten testnet ?
If so, try to refresh the remix page when the âInjected Web3â is selected in your environment, there is issue sometime with remix when switching from an Environment to an other.
Thanks for the help, I was actually able to fix it. I guess my brave browser had a pop up blocker so I just disabled it and I was able to link to my metamask
https://faucet.metamask.io/ and https://faucet.ropsten.be/ were not working for me. I finally got my Ropsten network ETH from this faucet: https://teth.bitaps.com/
Hello @filip,
Received the following error message from https://faucet.metamask.io/ - Please help!
{âerrorâ:"[ethjs-query] while formatting outputs from RPC â{âvalueâ:{âcodeâ:-32603,âmessageâ:âToo Many Requestsâ,âdataâ:{âoriginalErrorâ:{}},âstackâ:âError: Too Many Requests\n at eval (/www/node_modules/web3-provider-engine/subproviders/rpc.js:52:23)\n at Proxy.eval (/www/node_modules/web3-provider-engine/subproviders/rpc.js:54:11)\n at Object.eval [as apply] (LavaMoat/core/kernel:806:17)\n at Object.eval [as apply] (LavaMoat/core/kernel:806:17)\n at Request.self.callback (/www/node_modules/request/request.js:186:22)\n at Object.eval [as apply] (LavaMoat/core/kernel:806:17)\n at Proxy.emit (events.js:310:20)\n at Object.eval [as apply] (LavaMoat/core/kernel:806:17)\n at Request.eval (/www/node_modules/request/request.js:1155:10)\n at Object.eval [as apply] (LavaMoat/core/kernel:806:17)â}}â"}
Sometime the faucet wont work, as it has a daily limit. The error messages can be a bit confusing at times though.
Can you try if https://teth.bitaps.com/ works (as mentioned by dAnijboned)? I just checked it and that one seems to work (make sure youâre on the Ropsten test network). Otherwise, can you send your address? I can transfer a test eth.
Ok thanks Erno - will try it - Just tried https://faucet.dimensions.network/ and waiting for confirmation