Skip to content

Commit

Permalink
[inabox] Set BATCHER_FINALIZATION_BLOCK_DELAY to 0 (#631)
Browse files Browse the repository at this point in the history
  • Loading branch information
ian-shim authored Jul 9, 2024
1 parent 52f1293 commit 3759e17
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion inabox/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,9 @@ Disperse a blob:
# This command uses `grpcurl`, a tool to send gRPC request in cli
# To install `grpcurl`, run `brew install grpcurl` or `go install github.com/fullstorydev/grpcurl/cmd/grpcurl@latest`
$ grpcurl -plaintext -d '{"data": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "security_params": [{"quorum_id": 0, "adversary_threshold": 50, "quorum_threshold": 100}]}' localhost:32003 disperser.Disperser/DisperseBlob
# From top level eigenda directory
$ grpcurl -plaintext -d '{"data": "'$(tools/kzgpad/bin/kzgpad -e hello)'"}' \
localhost:32003 disperser.Disperser/DisperseBlob
```

Look for logs such as the following to indicate that the disperser has successfully confirmed the batch:
Expand Down
2 changes: 1 addition & 1 deletion inabox/deploy/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ func (env *Config) generateBatcherVars(ind int, key, graphUrl, logPath string) B
BATCHER_ENCODING_REQUEST_QUEUE_SIZE: "500",
BATCHER_NUM_CONFIRMATIONS: "0",
BATCHER_MAX_BLOBS_TO_FETCH_FROM_STORE: "100",
BATCHER_FINALIZATION_BLOCK_DELAY: "5",
BATCHER_FINALIZATION_BLOCK_DELAY: "0",
BATCHER_KMS_KEY_DISABLE: "true",
}

Expand Down

0 comments on commit 3759e17

Please sign in to comment.