Skip to content
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

Include previewnet when creating a fresh flow.json file with flow init #1724

Closed
alilloig opened this issue Sep 3, 2024 · 2 comments
Closed
Labels
Feature A new user feature or a new package API

Comments

@alilloig
Copy link
Member

alilloig commented Sep 3, 2024

Issue To Be Solved

When you create a flow.json file using cli, it doesn't includes previewnet under networks, but later when you use the dependency manager for adding contracts such as NonFungibleToken, it will specify an alias for that network, resulting in a bad flow.json

Suggest A Solution

If this is related to the C1 upgrade just close and ignore it, if previewnet if going to stay, just add it to the networks object when creating a fresh flow.json file

@alilloig alilloig added the Feature A new user feature or a new package API label Sep 3, 2024
@btspoony
Copy link

btspoony commented Sep 5, 2024

I think all previewnet related stuff need to be removed in flow-cli
Input hint of previewnet in the dependency manager is also annoying
@chasefleming

@chasefleming
Copy link
Member

Yep, correct. Previewnet is in the process of being removed. The latest version should solve some previewnet related issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature A new user feature or a new package API
Projects
Archived in project
Development

No branches or pull requests

3 participants