You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current alias structure works for resolving contract aliases during deployment, but it does not provide a way for code editors (e.g. VS Code) to resolve imports locally and perform semantic checking without reading from the chain.
Suggest A Solution
We can update the flow.json config structure to specify a source file for all contracts. This source file is resolved when developing locally, but is then replaced with the appropriate alias during deployment.
Issue To Be Solved
The current alias structure works for resolving contract aliases during deployment, but it does not provide a way for code editors (e.g. VS Code) to resolve imports locally and perform semantic checking without reading from the chain.
Suggest A Solution
We can update the
flow.json
config structure to specify a source file for all contracts. This source file is resolved when developing locally, but is then replaced with the appropriate alias during deployment.The text was updated successfully, but these errors were encountered: