-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create wallet canisters sequentially (#419)
# Motivation Since `dfx` 0.24.1, creating the snapshot results in creating only 11 or 10 SNSes instead of 12 almost every time. For example: https://github.com/dfinity/snsdemo/actions/runs/11659664378/job/32460602932?pr=418 After debugging, I found out that creating wallet canisters as part of the parallel SNS creation started occasionally failing with. ``` Error: Failed to setup wallet caller. Caused by: Failed to create wallet Caused by: Failed to load wallet configuration Caused by: failed to parse contents of /home/runner/work/snsdemo/snsdemo/users/snsdemo_1/.local/share/dfx/network/local/wallets.json as json Caused by: EOF while parsing a value at line 1 column 0 ``` I'm not sure why but it might not work well anymore to create many wallet canisters simultaneously. Also, while I was debugging this it appears that MacOS-12 stopped being supported on GitHub. # Changes 1. Move the creating the snsdemo identities (which includes wallet canister creation) outside the parallel process so that it is done sequentially. 2. Check that we have the expected number of SNSes after SNS creation is done. 3. Use MacOS 14 instead of MacOS 12. --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
3208dcf
commit 80c1f4f
Showing
3 changed files
with
21 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters