Skip to content

Commit

Permalink
feat(act): replace bootnode-0
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferenc Sárai committed Jul 30, 2024
1 parent 074305b commit 372aeed
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions pkg/check/act/act.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 372aeed

Please sign in to comment.