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

Create account removes deployment section #1202

Open
chasefleming opened this issue Sep 18, 2023 · 1 comment
Open

Create account removes deployment section #1202

chasefleming opened this issue Sep 18, 2023 · 1 comment
Assignees
Labels
Bug The issue represents a bug, malfunction, regression Feedback

Comments

@chasefleming
Copy link
Member

If I have the following flow.json:

{
	"networks": {
		"emulator": "127.0.0.1:3569",
		"mainnet": "access.mainnet.nodes.onflow.org:9000",
		"sandboxnet": "access.sandboxnet.nodes.onflow.org:9000",
		"testnet": "access.devnet.nodes.onflow.org:9000"
	},
	"accounts": {
		"emulator-account": {
			"address": "f8d6e0586b0a20c7",
			"key": "09f3d3a54819c8004cb8b71169f0caf6f9df4528fce015ec0302797c15051d69"
		}
	},
	"deployments": {
		"emulator": {}
	}
}

and I go to create an account with flow accounts create and choose emulator it will remove my "deployments" section.

@chasefleming chasefleming added Bug The issue represents a bug, malfunction, regression Feedback labels Sep 18, 2023
@chasefleming chasefleming self-assigned this Sep 18, 2023
@gregsantos gregsantos moved this to 🔖 Ready for Pickup in 🌊 Flow 4D Sep 21, 2023
@chasefleming chasefleming removed their assignment Sep 21, 2023
@github-project-automation github-project-automation bot moved this from 🔖 Ready for Pickup to ✅ Done in 🌊 Flow 4D Sep 21, 2023
@chasefleming chasefleming reopened this Sep 21, 2023
@bthaile bthaile self-assigned this Sep 22, 2023
@bjartek
Copy link
Collaborator

bjartek commented Oct 25, 2023

I just tried this with the following flow.json and that worked just .find

{
	"contracts": {
		"Foo": "Foo.cdc"
	},
	"networks": {
		"emulator": "127.0.0.1:3569",
		"mainnet": "access.mainnet.nodes.onflow.org:9000",
		"testnet": "access.devnet.nodes.onflow.org:9000"
	},
	"accounts": {
		"emulator-account": {
			"address": "f8d6e0586b0a20c7",
			"key": "612e4e9d66a81d8d047b46ed42529c62e57da4f8efac000395b578508659d309"
		},
		"test": {
			"address": "01cf0e2f2f715450",
			"key": "b9e1e76a959b0f3160416dc5727115c333853076a0dbf4fb9fa48f795797ef42"
		},
		"test2": {
			"address": "01cf0e2f2f715450",
			"key": "d82a531ed95fd4a37ca28170dc945791527dc52f6b373d5e58fa310c7f12f9a1"
		}
	},
	"deployments": {
		"emulator": {
			"emulator-account": [
				"Foo"
			]
		}
	}
}

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 Feedback
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants