Skip to content

Commit

Permalink
fix missing test data
Browse files Browse the repository at this point in the history
  • Loading branch information
sugh01 committed Sep 3, 2024
1 parent aa0e335 commit db2eee2
Show file tree
Hide file tree
Showing 12 changed files with 163 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ cluster/
.charon/
node*/

keystore*
keystore*
!cli/actions/testdata/charon/validator_keys/keystore*
2 changes: 1 addition & 1 deletion cli/actions/importKeys_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ func TestImportKeys_DistributedMode(t *testing.T) {
generationPath := t.TempDir()

err = s.ImportValidatorKeys(actions.ImportValidatorKeysOptions{
ValidatorClient: "teku",
ValidatorClient: "lodestar",
Network: "holesky",
GenerationPath: generationPath,
Distributed: true,
Expand Down
31 changes: 31 additions & 0 deletions cli/actions/testdata/charon/validator_keys/keystore-0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"crypto": {
"checksum": {
"function": "sha256",
"message": "e9f381a02e05aaace38ef3bf623d42fb0b7afa1652c23ec85fc7ac784e377ef8",
"params": {}
},
"cipher": {
"function": "aes-128-ctr",
"message": "870a45577062e499f7077474bd9cc4f1ab54948438aa6331b39743d80a09e59d",
"params": {
"iv": "8d254fc1f1358e53c60e438c6a1b2254"
}
},
"kdf": {
"function": "pbkdf2",
"message": "",
"params": {
"c": 262144,
"dklen": 32,
"prf": "hmac-sha256",
"salt": "6236ed00a3647288a11b3b9a1030727b5d02cc3f1b23f3111134cfe22d464dc8"
}
}
},
"description": "",
"pubkey": "937efb721750cc7a9f6285647282bb3eb6a015785be164f44b563951d65c54e7bb744c73dd2755327913f009f5948923",
"path": "m/12381/3600/0/0/0",
"uuid": "CAB6EB10-CAAD-2EF0-672F-5774CD629B59",
"version": 4
}
1 change: 1 addition & 0 deletions cli/actions/testdata/charon/validator_keys/keystore-0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
70efc92352783e3b09cb508733c31514
31 changes: 31 additions & 0 deletions cli/actions/testdata/charon/validator_keys/keystore-1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"crypto": {
"checksum": {
"function": "sha256",
"message": "b9099d846620e6913b30adb1213b2b9da92db365d9924c64f7166dd0c3948d59",
"params": {}
},
"cipher": {
"function": "aes-128-ctr",
"message": "5675f43ed5c2725d0cb77c7161ccd0a82f28dd2b9727b436d72740324b01e4f7",
"params": {
"iv": "0bf4ddd1823e1270127a1a6eadc3478e"
}
},
"kdf": {
"function": "pbkdf2",
"message": "",
"params": {
"c": 262144,
"dklen": 32,
"prf": "hmac-sha256",
"salt": "7be6b3e5b258a8557163305da4c612bdbf8b9d6f430f9ac552d7b50918fc0549"
}
}
},
"description": "",
"pubkey": "b34d921aad847e8a868a3259633ebf797659ffb7debb7f681aae9d5169b34a720cbaaea2cd87b17d440bb34f452cb8d0",
"path": "m/12381/3600/0/0/0",
"uuid": "B06F1B25-D50B-9CCB-6326-253F2E64BC5C",
"version": 4
}
1 change: 1 addition & 0 deletions cli/actions/testdata/charon/validator_keys/keystore-1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
935d77b09a4430b1ac4f352f09e77077
31 changes: 31 additions & 0 deletions cli/actions/testdata/charon/validator_keys/keystore-2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"crypto": {
"checksum": {
"function": "sha256",
"message": "5fd4151f9c43670ad78f3d0386cfa6b645b87eeb45d357c3d27376aab50b1222",
"params": {}
},
"cipher": {
"function": "aes-128-ctr",
"message": "05d5a05014befddcc63cc8845f2292e66b9200f6655ed6fd67deeb66c387e7b5",
"params": {
"iv": "06125a640ac42578ca72cd74cb2b78be"
}
},
"kdf": {
"function": "pbkdf2",
"message": "",
"params": {
"c": 262144,
"dklen": 32,
"prf": "hmac-sha256",
"salt": "3a08b9634d34cdfcc1d7e5c12ada5439d2436d73a1569fb589bf404064b88325"
}
}
},
"description": "",
"pubkey": "b9d5ba740412ac60427986b1f906ebe27debfe9ca5d8631853160fbbf296b897c27f3142886ac69d5ce54d1e53abd45f",
"path": "m/12381/3600/0/0/0",
"uuid": "3412F0C5-2435-E01A-C116-ED771D463367",
"version": 4
}
1 change: 1 addition & 0 deletions cli/actions/testdata/charon/validator_keys/keystore-2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
63b4699c34dc88eb93f96bf19bf1d328
31 changes: 31 additions & 0 deletions cli/actions/testdata/charon/validator_keys/keystore-3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"crypto": {
"checksum": {
"function": "sha256",
"message": "baa547e3b7b1994ad4b0bea96cdabb554df612d6b4b5aaa98f1497dec5515689",
"params": {}
},
"cipher": {
"function": "aes-128-ctr",
"message": "6eb279a8a4e758c986868b59170b48c61263f7d5472fdcc0127a08df330cdf33",
"params": {
"iv": "2e5ca0e1aaab98178ea394b085674e2a"
}
},
"kdf": {
"function": "pbkdf2",
"message": "",
"params": {
"c": 262144,
"dklen": 32,
"prf": "hmac-sha256",
"salt": "c17443410eae76a59691fd4e82b3194e3c77082fd1d146f093a5123e774db7b5"
}
}
},
"description": "",
"pubkey": "9234b10e8d612de8dfb90e63ac2249046069f8e3d664699593903daf15c2cb3eb97ea07a3daaabffbe69c4ada631eba7",
"path": "m/12381/3600/0/0/0",
"uuid": "913FE9DE-0C6D-6B62-B5A7-6E8C311114C2",
"version": 4
}
1 change: 1 addition & 0 deletions cli/actions/testdata/charon/validator_keys/keystore-3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
45a1d9787d39f8408df644defe118a87
31 changes: 31 additions & 0 deletions cli/actions/testdata/charon/validator_keys/keystore-4.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"crypto": {
"checksum": {
"function": "sha256",
"message": "c2ca683a2e0d27dff7f49318c750ce12e29e641afd4207ad28eeb100eadd8012",
"params": {}
},
"cipher": {
"function": "aes-128-ctr",
"message": "0db16b735d66eb790c910cef2bcfce9316ef2086dc6aa62169055adb11e509d0",
"params": {
"iv": "26fe3d3b2be13bfba6c45cd3cf81b2f8"
}
},
"kdf": {
"function": "pbkdf2",
"message": "",
"params": {
"c": 262144,
"dklen": 32,
"prf": "hmac-sha256",
"salt": "a7868e308da0af190ebf6f974dd35297331b94e14fc3a5a14c99e2b4762cc3c3"
}
}
},
"description": "",
"pubkey": "8e173333b166ca47cad2dbbe6fcf95a37ab62b191b076e54d8a8f8374efad616761cae930893553eab7a1ff179b70e44",
"path": "m/12381/3600/0/0/0",
"uuid": "E46DE4A5-A22F-0FF6-2076-46D7A9FD0718",
"version": 4
}
1 change: 1 addition & 0 deletions cli/actions/testdata/charon/validator_keys/keystore-4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
c6e5685910d5324cf084c287a43253b3

0 comments on commit db2eee2

Please sign in to comment.