Skip to content

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
  • Loading branch information
huy-nodeset committed Jun 17, 2024
1 parent 7be2446 commit e1f71f9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ require (
github.com/google/uuid v1.6.0
github.com/gorilla/mux v1.8.1
github.com/nodeset-org/hyperdrive-daemon v0.5.0-b1.0.20240614184837-e4f7a44efd10
github.com/nodeset-org/nodeset-svc-mock v0.1.1-0.20240617153031-d1f012b45a3e
github.com/nodeset-org/nodeset-svc-mock v0.1.1-0.20240617160247-3ac8bfac0cb9
github.com/nodeset-org/osha v0.1.1-0.20240614183409-91272019f954
github.com/rocket-pool/batch-query v1.0.0
github.com/rocket-pool/node-manager-core v0.4.1-0.20240614183125-1546057bc5ef
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,8 @@ github.com/multiformats/go-varint v0.0.7/go.mod h1:r8PUYw/fD/SjBCiKOoDlGF6QawOEL
github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U=
github.com/nodeset-org/hyperdrive-daemon v0.5.0-b1.0.20240614184837-e4f7a44efd10 h1:T0zmhFw6E/nXfc8/OEQ+5JdozSFv6lNup/tKrnTfDdc=
github.com/nodeset-org/hyperdrive-daemon v0.5.0-b1.0.20240614184837-e4f7a44efd10/go.mod h1:jDlOAdWcNE1NF7364oa6GpMzyuyDBvTth+MBHrKCR7c=
github.com/nodeset-org/nodeset-svc-mock v0.1.1-0.20240617153031-d1f012b45a3e h1:TB4neoWl061aI6lZkB7QVq2qFQe01GUXUjsuBTDm0W0=
github.com/nodeset-org/nodeset-svc-mock v0.1.1-0.20240617153031-d1f012b45a3e/go.mod h1:pbff0NjIm7oCmBRKgXkXIWp/a9/zAXaS7BDJ69wR4GU=
github.com/nodeset-org/nodeset-svc-mock v0.1.1-0.20240617160247-3ac8bfac0cb9 h1:xVgnQwR34MrFcMMIuqdzLN1kAIQTj6qdpJ1h3Cj4gR0=
github.com/nodeset-org/nodeset-svc-mock v0.1.1-0.20240617160247-3ac8bfac0cb9/go.mod h1:pbff0NjIm7oCmBRKgXkXIWp/a9/zAXaS7BDJ69wR4GU=
github.com/nodeset-org/osha v0.1.1-0.20240614183409-91272019f954 h1:OmS41cqVY7judQ1r+MLZ6ntALvEVWm/KQb5Dx8VPEYY=
github.com/nodeset-org/osha v0.1.1-0.20240614183409-91272019f954/go.mod h1:qkXYqNHUom/vRxlP7sj7Ilq1bvaSv4AhjfyOAGIwoSk=
github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A=
Expand Down
5 changes: 5 additions & 0 deletions internal/tests/api/status_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ func TestValidatorStatus_Active(t *testing.T) {
require.NoError(t, err)
t.Log("Validator added to the beacon chain")

// Mark the validator as active
err = nsMock.MarkValidatorRegistered(vault, network, depositDataSet)
require.NoError(t, err)
t.Log("Deposit data set marked as uploaded")

// Set the validator to active
validator.Status = beacon.ValidatorState_ActiveOngoing
validator.Index = 1
Expand Down

0 comments on commit e1f71f9

Please sign in to comment.