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
Also, when '--host' is specified, references (imports) between contracts cannot be resolved.
This also seems to be caused by the fact that the network name is internally set to "custom".
You are right, but I wonder if you think this is a issue? the way I was thinking about is, if you have a custom host for a network you would define that in "networks" section in flow.json and then just use that network name on the deploy.
If --host is specified, --network is ignored, so nothing can be deployed with the
flow deploy
command.Steps to reproduce
flow setup
and add some contracts)flow emulator
flow deploy --host 127.0.0.1:3569 --network emulator
Additional Info
I am using jest for automated testing.
I use a different port than usual to run emulator in parallel.
Looking at the implementation, it appears that when host is specified, the internal name is "custom".
flow-cli/internal/command/command.go
Line 204 in daa1550
The text was updated successfully, but these errors were encountered: