Skip to content

Commit

Permalink
feat(act): patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferenc Sárai committed Jul 29, 2024
1 parent a1a0aec commit 132baa9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/check/act/act.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ func (c *Check) Run(ctx context.Context, cluster orchestration.Cluster, opts int

// add grantees list
gFile := bee.NewBufferFile("grantees.json", bytes.NewBuffer([]byte(`{ "grantees": [
"`+pubk1.String()+`",
"`+pubk2.String()+`",
"`+pubk3.String()+`"
]
Expand Down Expand Up @@ -184,7 +183,6 @@ func (c *Check) Run(ctx context.Context, cluster orchestration.Cluster, opts int
}

c.logger.Info("ACT grantees patched")
c.logger.Infof("ACT file uploaded. patch History: %v", pFile.HistroryAddress())

// list grantees after patch
patchAddresses, patchErr := upClient.GetActGrantees(ctx, pFile.Address())
Expand All @@ -201,7 +199,6 @@ func (c *Check) Run(ctx context.Context, cluster orchestration.Cluster, opts int

// download act file
his := pFile.HistroryAddress()
c.logger.Infof("ref: %v, act: %v, pubk: %v, history: %v", fileAddress, act, publisher, his)
size1, hash1, err1 := client1.DownloadActFile(ctx, fileAddress, &api.DownloadOptions{Act: &act, ActPublicKey: &publisher, ActHistoryAddress: &his})
if err1 != nil {
return fmt.Errorf("node %s: %w", nodeName1, err1)
Expand Down

0 comments on commit 132baa9

Please sign in to comment.