-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added `--deposit-amounts` flag to cmd interface for `create cluster` and `dkg` commands in according with the spec. category: feature ticket: none
- Loading branch information
Showing
8 changed files
with
203 additions
and
1 deletion.
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
22 changes: 22 additions & 0 deletions
22
cmd/testdata/TestCreateCluster_four_partial_deposits_files.golden
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[ | ||
"node0", | ||
"node1", | ||
"node2", | ||
"node3", | ||
"node0/charon-enr-private-key", | ||
"node0/cluster-lock.json", | ||
"node0/deposit-data.json", | ||
"node0/validator_keys", | ||
"node1/charon-enr-private-key", | ||
"node1/cluster-lock.json", | ||
"node1/deposit-data.json", | ||
"node1/validator_keys", | ||
"node2/charon-enr-private-key", | ||
"node2/cluster-lock.json", | ||
"node2/deposit-data.json", | ||
"node2/validator_keys", | ||
"node3/charon-enr-private-key", | ||
"node3/cluster-lock.json", | ||
"node3/deposit-data.json", | ||
"node3/validator_keys" | ||
] |
11 changes: 11 additions & 0 deletions
11
cmd/testdata/TestCreateCluster_four_partial_deposits_output.golden
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Created charon cluster: | ||
--split-existing-keys=false | ||
|
||
charon/ | ||
├─ node[0-3]/ Directory for each node | ||
│ ├─ charon-enr-private-key Charon networking private key for node authentication | ||
│ ├─ cluster-lock.json Cluster lock defines the cluster lock file which is signed by all nodes | ||
│ ├─ deposit-data.json Deposit data file is used to activate a Distributed Validator on DV Launchpad | ||
│ ├─ validator_keys Validator keystores and password | ||
│ │ ├─ keystore-*.json Validator private share key for duty signing | ||
│ │ ├─ keystore-*.txt Keystore password files for keystore-*.json |
22 changes: 22 additions & 0 deletions
22
cmd/testdata/TestCreateCluster_two_partial_deposits_files.golden
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[ | ||
"node0", | ||
"node1", | ||
"node2", | ||
"node3", | ||
"node0/charon-enr-private-key", | ||
"node0/cluster-lock.json", | ||
"node0/deposit-data.json", | ||
"node0/validator_keys", | ||
"node1/charon-enr-private-key", | ||
"node1/cluster-lock.json", | ||
"node1/deposit-data.json", | ||
"node1/validator_keys", | ||
"node2/charon-enr-private-key", | ||
"node2/cluster-lock.json", | ||
"node2/deposit-data.json", | ||
"node2/validator_keys", | ||
"node3/charon-enr-private-key", | ||
"node3/cluster-lock.json", | ||
"node3/deposit-data.json", | ||
"node3/validator_keys" | ||
] |
11 changes: 11 additions & 0 deletions
11
cmd/testdata/TestCreateCluster_two_partial_deposits_output.golden
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Created charon cluster: | ||
--split-existing-keys=false | ||
|
||
charon/ | ||
├─ node[0-3]/ Directory for each node | ||
│ ├─ charon-enr-private-key Charon networking private key for node authentication | ||
│ ├─ cluster-lock.json Cluster lock defines the cluster lock file which is signed by all nodes | ||
│ ├─ deposit-data.json Deposit data file is used to activate a Distributed Validator on DV Launchpad | ||
│ ├─ validator_keys Validator keystores and password | ||
│ │ ├─ keystore-*.json Validator private share key for duty signing | ||
│ │ ├─ keystore-*.txt Keystore password files for keystore-*.json |
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