Skip to content

Contracts under dependencies fields cannot be properly loaded when config them in deployment fields. #542

@btspoony

Description

@btspoony

Instructions

If the contract only exists in the dependencies field and not in the contracts field of flow.json, when it is configured in the deployment field, the vscode plugin will report an error and language server will be broken.

Problem

The language server will be broken with a error thrown.

Steps to Reproduce

image

Acceptance Criteria

contracts in the dependencies field can be add to deployment field and no error occurs.

Context

VSCode plugin: v2.2.1
flow-cli: v1.13.2

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions