Skip to content

Commit

Permalink
chore: don't put any keys in the integeration test cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
ckartik committed Dec 11, 2024
1 parent 93246d1 commit cf02ed0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions p2p/integrationtest/provider/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit cf02ed0

Please sign in to comment.