-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flow Emulator Broken since version 2.0.5 #1781
Comments
Hey @damian-psiware , this may be related to references to previewnet remaining in your |
It's still present. What should I do? I have core contracts pointing to previewnet like this:
How do I replace that "source" field? I understand that for aliases I should remove the entry for previewnet. I also tried to create a new project with flow init all core contracts as dependency, to see how they are generated. But have this error:
|
Hey @damian-psiware Yeah, for the contracts whose source is previewnet, you will unfortunately have to replace these with another network instead (I would recommend using mainnet). Here is a example flow.json with all of the correct dependency versions for convenience (you can copy and paste anything needed from here :) https://gist.github.com/jribbink/75a3792e7ad4000e775cd7159e183e4a) Regarding the "Burner" issue, this issue is somewhat seperate and was resolved in Flow CLI v2.0.7. My apologies for any inconvenience this may have caused. Let my know if you have any more issues after updating your CLI. |
Closing as this should be resolved. |
Hi! I corrected my flow.json and updated flow-cli to latest version and everything works! Thanks! |
Instructions
Update the flow emulator to version 2.0.5. Also for version 2.0.6. Then I go to my current Cadence project and run "flow emulator" and throws the error described below.
If I create a new flow project with "flow init" it works fine.
Problem
The emulator brokes, this is the error message:
Steps to Reproduce
Run the command:
sh -ci "$(curl -fsSL https://raw.githubusercontent.com/onflow/flow-cli/master/install.sh)"
cd to my cadence project and run:
flow emulator
Context
<what are you currently working on that this is blocking?>
The text was updated successfully, but these errors were encountered: