Skip to content

Commit

Permalink
test: populate accountant, enable payment
Browse files Browse the repository at this point in the history
  • Loading branch information
hopeyen committed Dec 13, 2024
1 parent a43e9b8 commit 5a8683b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions inabox/deploy/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ func (env *Config) generateDisperserV2Vars(ind int, logPath, dbPath, grpcPort st
DISPERSER_SERVER_TOTAL_UNAUTH_BLOB_RATE: "10,10",
DISPERSER_SERVER_PER_USER_UNAUTH_BLOB_RATE: "2,2",
DISPERSER_SERVER_ENABLE_RATELIMITER: "true",
DISPERSER_SERVER_ENABLE_PAYMENT_METERER: "true",

DISPERSER_SERVER_RETRIEVAL_BLOB_RATE: "4",
DISPERSER_SERVER_RETRIEVAL_BYTE_RATE: "10000000",
Expand Down
2 changes: 2 additions & 0 deletions inabox/tests/integration_v2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ var _ = Describe("Inabox v2 Integration", func() {
}, signer, nil, nil)
Expect(err).To(BeNil())
Expect(disp).To(Not(BeNil()))
err = disp.PopulateAccountant(ctx)
Expect(err).To(BeNil())

data1 := make([]byte, 992)
_, err = rand.Read(data1)
Expand Down

0 comments on commit 5a8683b

Please sign in to comment.