From cf02ed0590baa1c96a482cceccab3ea57e94df97 Mon Sep 17 00:00:00 2001 From: Kartik Chopra Date: Wed, 11 Dec 2024 14:14:21 -0500 Subject: [PATCH] chore: don't put any keys in the integeration test cluster --- p2p/integrationtest/provider/client.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/p2p/integrationtest/provider/client.go b/p2p/integrationtest/provider/client.go index 630812858..a01b3a24a 100644 --- a/p2p/integrationtest/provider/client.go +++ b/p2p/integrationtest/provider/client.go @@ -91,7 +91,7 @@ func (b *ProviderClient) Close() error { return b.conn.Close() } -func (b *ProviderClient) CheckAndStake(keys []string) error { +func (b *ProviderClient) CheckAndStake(_ []string) error { stakeAmt, err := b.client.GetStake(context.Background(), &providerapiv1.EmptyMessage{}) if err != nil { b.logger.Error("failed to get stake amount", "err", err) @@ -112,8 +112,7 @@ func (b *ProviderClient) CheckAndStake(keys []string) error { } _, err = b.client.Stake(context.Background(), &providerapiv1.StakeRequest{ - Amount: "10000000000000000000", - BlsPublicKeys: keys, + Amount: "10000000000000000000", }) if err != nil { b.logger.Error("failed to register stake", "err", err)