Skip to content

Commit a90e039

Browse files
committed
removed unused client for SSV node
1 parent f60dbd6 commit a90e039

File tree

6 files changed

+7
-212
lines changed

6 files changed

+7
-212
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,4 @@ For SSV node operators who wish to opt into distributed key generation opportuni
1111
## tools
1212
The tools module contains useful applications for interacting with other parts of the project.
1313

14-
[./tools/key_verifier](./tools/key_verifier) is a tool used by the GitHub actions for verifying the keys of operators added to the [operators list](./nodes/operators.json).
15-
16-
[./tools/stub](./tools/stub) is a CLI for running a stubbed SSV node for testing. It will respond to identity requests with a valid RSA public key for use in encryption.
14+
[./tools/key_verifier](./tools/key_verifier) is a tool used by the GitHub actions for verifying the keys of operators added to the [operators list](./nodes/operators.json).

internal/integration_test.go

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ func startSidecars(t *testing.T, ports []uint) []sidecar.Daemon {
172172
}()
173173
err := awaitSidecarHealthy(o)
174174
if err != nil {
175-
t.Fatalf("error starting stub: %v", err)
175+
t.Fatalf("error starting sidecar: %v", err)
176176
}
177177
}
178178
t.Cleanup(func() {
@@ -193,7 +193,7 @@ func startErrorSidecars(t *testing.T, ports []uint, errorCooordinator sidecar.DK
193193
}()
194194
err := awaitSidecarHealthy(o)
195195
if err != nil {
196-
t.Fatalf("error starting stub: %v", err)
196+
t.Fatalf("error starting sidecar: %v", err)
197197
}
198198
}
199199
t.Cleanup(func() {
@@ -280,11 +280,6 @@ func awaitSidecarHealthy(port uint) error {
280280
return awaitHealthy(c)
281281
}
282282

283-
func awaitStubHealthy(port uint) error {
284-
c := api.NewSsvClient(fmt.Sprintf("http://127.0.0.1:%d", port))
285-
return awaitHealthy(c)
286-
}
287-
288283
func createUnsignedDepositData() api.UnsignedDepositData {
289284
return api.UnsignedDepositData{
290285
WithdrawalCredentials: []byte("hello worldhello worldhello worl"), // must be 32 bytes

shared/api/ssv.go

Lines changed: 0 additions & 50 deletions
This file was deleted.

shared/api/ssv_client.go

Lines changed: 0 additions & 47 deletions
This file was deleted.

shared/api/ssv_client_test.go

Lines changed: 0 additions & 101 deletions
This file was deleted.

sidecar/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ This module contains an implementation of the distributed key generation sidecar
55

66
## steps
77
- sign public key and upload to repo
8-
- start your SSV node (or stub)
9-
- start your sidecar
10-
8+
- generate an encrypted key for your SSV node
9+
- start your SSV node
10+
- start your sidecar with a link with the encrypted key JSON file for the SSV node
1111

1212
## example commands
1313
- generate a BLS12-381 keypair
@@ -25,7 +25,7 @@ $ ssv-sidecar key sign --directory ~/.ssv --url https://example.org | jq
2525
}
2626
```
2727

28-
- start your SSV node (or a stubbed node, which can be found in [../tools/stub](../tools/stub))
28+
- start your SSV node
2929

3030
- start your sidecar node
3131
```shell

0 commit comments

Comments
 (0)