Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[payments] disperser client local metering #793

Merged
merged 17 commits into from
Nov 2, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: try to fix inabox integration test
  • Loading branch information
hopeyen committed Nov 1, 2024
commit d065607f6fb490a98f4e13381a710ba6d6acb309
24 changes: 10 additions & 14 deletions inabox/deploy/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,20 +159,16 @@ func (env *Config) generateChurnerVars(ind int, graphUrl, logPath, grpcPort stri
// Generates disperser .env
func (env *Config) generateDisperserVars(ind int, key, address, logPath, dbPath, grpcPort string) DisperserVars {
v := DisperserVars{
DISPERSER_SERVER_S3_BUCKET_NAME: "test-eigenda-blobstore",
DISPERSER_SERVER_DYNAMODB_TABLE_NAME: "test-BlobMetadata",
DISPERSER_SERVER_RATE_BUCKET_TABLE_NAME: "",
DISPERSER_SERVER_RATE_BUCKET_STORE_SIZE: "100000",
DISPERSER_SERVER_GRPC_PORT: grpcPort,
DISPERSER_SERVER_ENABLE_METRICS: "true",
DISPERSER_SERVER_ENABLE_PAYMENT_METERER: "true",
DISPERSER_SERVER_RESERVATIONS_TABLE_NAME: "reservations_inabox",
DISPERSER_SERVER_ON_DEMAND_TABLE_NAME: "on_demand_inabox",
DISPERSER_SERVER_GLOBAL_RATE_TABLE_NAME: "global_rate_inabox",
DISPERSER_SERVER_METRICS_HTTP_PORT: "9093",
DISPERSER_SERVER_CHAIN_RPC: "",
DISPERSER_SERVER_PRIVATE_KEY: "123",
DISPERSER_SERVER_NUM_CONFIRMATIONS: "0",
DISPERSER_SERVER_S3_BUCKET_NAME: "test-eigenda-blobstore",
DISPERSER_SERVER_DYNAMODB_TABLE_NAME: "test-BlobMetadata",
DISPERSER_SERVER_RATE_BUCKET_TABLE_NAME: "",
DISPERSER_SERVER_RATE_BUCKET_STORE_SIZE: "100000",
DISPERSER_SERVER_GRPC_PORT: grpcPort,
DISPERSER_SERVER_ENABLE_METRICS: "true",
DISPERSER_SERVER_METRICS_HTTP_PORT: "9093",
DISPERSER_SERVER_CHAIN_RPC: "",
DISPERSER_SERVER_PRIVATE_KEY: "123",
DISPERSER_SERVER_NUM_CONFIRMATIONS: "0",

DISPERSER_SERVER_REGISTERED_QUORUM_ID: "0,1",
DISPERSER_SERVER_TOTAL_UNAUTH_BYTE_RATE: "10000000,10000000",
Expand Down
8 changes: 0 additions & 8 deletions inabox/deploy/env_vars.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,6 @@ type DisperserVars struct {
DISPERSER_SERVER_RETRIEVAL_BLOB_RATE string

DISPERSER_SERVER_RETRIEVAL_BYTE_RATE string

DISPERSER_SERVER_ENABLE_PAYMENT_METERER string

DISPERSER_SERVER_RESERVATIONS_TABLE_NAME string

DISPERSER_SERVER_ON_DEMAND_TABLE_NAME string

DISPERSER_SERVER_GLOBAL_RATE_TABLE_NAME string
}

func (vars DisperserVars) getEnvMap() map[string]string {
Expand Down
Loading