Accounts declared in the flow.json are not created when emulator is launched
@devbugging is already working on this.
Since Jun 26, 2023.
- Dominant language
- Go
- Stars
- 209
- Forks
- 87
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 3
Description
https://github.com/onflow/flow-emulator/issues/405
from flow-emulator repo by @cybercent
###Instructions
flow accounts create adds and account to the flow.json file.
When relaunching the emulator the accounts defined in the flow.json are not recreated.
There should be a command to recreate the accounts defined in the flow.json file.
###Problem
Accounts defined in flow.json not present in emulator.
Steps to Reproduce
{
"accounts": {
"AccountA": {
"address": "01cf0e2f2f715450",
"key": "some_private_key"
},
"AccountB": {
"address": "179b6b1cb6755e31",
"key": "some_private_key"
},
"AccountC": {
"address": "f3fcd2c1a78f5eee",
"key": "some_private_key"
},
"default": {
"address": "01cf0e2f2f715450",
"key": "some_private_key"
},
"emulator-account": {
"address": "f8d6e0586b0a20c7",
"key": "some_private_key"
}
},
"deployments": {
"emulator": {
"default": [],
"emulator-account": []
}
}
}
###Acceptance Criteria
There should be a command to recreate the accounts defined in the flow.json file.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.