-
Notifications
You must be signed in to change notification settings - Fork 319
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '@anchpop/NNS1-2574' into 'master'
fix(cli): NNS1-2574: Make the Principals field optional in the v2 sns_init.yaml file The Principals field didn't really do anything, so there's no need for it to be required. Closes NNS1-2574 Closes NNS1-2574 See merge request dfinity-lab/public/ic!19431
- Loading branch information
Showing
3 changed files
with
2 additions
and
35 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,28 +23,7 @@ fn test_parse() { | |
logo: PathBuf::from("test.png"), | ||
url: "https://some-link-to-a-project.org".to_string(), | ||
|
||
principals: vec![ | ||
PrincipalAlias { | ||
id: "5zxxw-63ouu-faaaa-aaaap-4ai".to_string(), | ||
name: Some("Bruce Wayne".to_string()), | ||
email: Some("[email protected]".to_string()), | ||
}, | ||
PrincipalAlias { | ||
id: PrincipalId::new_user_test_id(746890).to_string(), | ||
name: Some("Alfred Pennyworth".to_string()), | ||
email: None, | ||
}, | ||
PrincipalAlias { | ||
id: "c2n4r-wni5m-dqaaa-aaaap-4ai".to_string(), | ||
name: Some("employees (canister)".to_string()), | ||
email: None, | ||
}, | ||
PrincipalAlias { | ||
id: "ucm27-3lxwy-faaaa-aaaap-4ai".to_string(), | ||
name: Some("departments (canister)".to_string()), | ||
email: None, | ||
}, | ||
], | ||
principals: vec![], | ||
|
||
fallback_controller_principals: vec!["5zxxw-63ouu-faaaa-aaaap-4ai".to_string()], | ||
dapp_canisters: vec![ | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,18 +12,6 @@ NnsProposal: | |
url: "https://forum.dfinity.org/thread-where-this-sns-is-discussed" | ||
summary: "This is just a short summary, but I think it's pretty good." | ||
|
||
|
||
Principals: | ||
- id: 5zxxw-63ouu-faaaa-aaaap-4ai | ||
name: Bruce Wayne | ||
email: [email protected] | ||
- id: uqf5l-jukmu-fqaaa-aaaap-4ai | ||
name: Alfred Pennyworth | ||
- id: c2n4r-wni5m-dqaaa-aaaap-4ai | ||
name: employees (canister) | ||
- id: ucm27-3lxwy-faaaa-aaaap-4ai | ||
name: departments (canister) | ||
|
||
fallback_controller_principals: | ||
- 5zxxw-63ouu-faaaa-aaaap-4ai # TODO: Bruce Wayne | ||
|
||
|