From 372aeedb2f12b071a6c098fe021b9b5cb67cd83f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferenc=20S=C3=A1rai?= Date: Tue, 30 Jul 2024 18:32:22 +0200 Subject: [PATCH] feat(act): replace bootnode-0 --- pkg/check/act/act.go | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/pkg/check/act/act.go b/pkg/check/act/act.go index 903c8210c..6ddfb3ee7 100644 --- a/pkg/check/act/act.go +++ b/pkg/check/act/act.go @@ -75,23 +75,30 @@ func (c *Check) Run(ctx context.Context, cluster orchestration.Cluster, opts int c.logger.Info("=====================================") } - sortedNodes := cluster.NodeNames() - upNodeName := sortedNodes[0] + fullNodes := cluster.FullNodeNames() + lightNodes := cluster.LightNodeNames() + + //sortedNodes := cluster.NodeNames() + //upNodeName := sortedNodes[0] + upNodeName := lightNodes[0] upClient := clients[upNodeName] addr, _ := upClient.Addresses(ctx) publisher, _ := swarm.ParseHexAddress(addr.PublicKey) - nodeName1 := sortedNodes[1] + //nodeName1 := sortedNodes[1] + nodeName1 := fullNodes[1] client1 := clients[nodeName1] addr1, _ := client1.Addresses(ctx) pubk1, _ := swarm.ParseHexAddress(addr1.PublicKey) - nodeName2 := sortedNodes[2] + //nodeName2 := sortedNodes[2] + nodeName2 := fullNodes[2] client2 := clients[nodeName2] addr2, _ := client2.Addresses(ctx) pubk2, _ := swarm.ParseHexAddress(addr2.PublicKey) - nodeName3 := sortedNodes[3] + //odeName3 := sortedNodes[3] + nodeName3 := fullNodes[3] client3 := clients[nodeName3] addr3, _ := client3.Addresses(ctx) pubk3, _ := swarm.ParseHexAddress(addr3.PublicKey)