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

Failed to add dependencies by using flow-c1 from Testnet sources when un-staged contracts exist in the address. #1716

Closed
btspoony opened this issue Aug 29, 2024 · 0 comments · Fixed by #1717
Assignees
Labels
Bug The issue represents a bug, malfunction, regression

Comments

@btspoony
Copy link

Problem

Failed to add dependencies by using flow-c1 from Testnet sources when un-staged contracts exist in the address.

Steps to Reproduce

flow-c1 deps add testnet://{AnyAddressWithUnStagedContracts}.{ValidC1.0ContractName}

Acceptance Criteria

not to panic and throw error.

Context

It should be this line that is causing the error, because C1.0 can not read previous Cadence code.
https://github.com/onflow/flow-cli/blob/master/internal/dependencymanager/dependencyinstaller.go#L322-L325

@turbolent turbolent added the Bug The issue represents a bug, malfunction, regression label Aug 29, 2024
@turbolent turbolent self-assigned this Aug 29, 2024
@github-project-automation github-project-automation bot moved this to ✅ Done in 🌊 Flow 4D Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug The issue represents a bug, malfunction, regression
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants