F
Flow8mo ago
Bohao

Bohao | Flow (2024-04-25)

[C1.0] Migration Is it not possible to use the flow-cli dependences feature to load C1.0 staged contracts? It seems that the only way is to obtain and load dependency contracts by copying the source code locally or using git submodules.
6 Replies
Needle
Needle8mo ago
I've created a thread for your message. Please continue any relevant discussion in this thread. You can rename this thread using /title <new title> If this is a technical question that others may benefit from, considering also asking it on Stackoverflow: https://stackoverflow.com/questions/ask?tags=onflow-cadence
turbolent
turbolent8mo ago
Could you please provide some more details on what you’re trying to do (e.g. commands), what you see (e.g. error message), and what you expect?
Bohao
BohaoOP8mo ago
Actually, it has nothing to do with migration itself. I'm referring to the Dependency Manager of flow-cli. https://developers.flow.com/tools/flow-cli/dependency-manager What can be obtained is the actual code on the chain, not the staged contract. So this feature is unusable for C1.0 migration. The dependent contracts must be copied one by one to the local or using git-submodule to fetch the c1.0 branch of dependencies just like before.
Dependency Manager | Flow Developer Portal
Dependency Manager for the Flow Blockchain.
Bohao
BohaoOP8mo ago
Or wait for Testnet to fully upgrade to Cadence 1.0, and only after all these staged contracts are updated on the testnet. Right?
turbolent
turbolent8mo ago
Ah, I see what you’re saying now
Bohao
BohaoOP8mo ago
@bluesign provides a url of querying all staged contracts. That will be helpful for dependency contracts: https://f.dnz.dev/0x2ceae959ed1a7e7a
f.dnz.dev : a Flow View Source fork
Exploring the Flow Blockchain
Want results from more Discord servers?
Add your server