From 3759e172416ce6867a9391a3d68859dd1e715e50 Mon Sep 17 00:00:00 2001 From: Ian Shim <100327837+ian-shim@users.noreply.github.com> Date: Tue, 9 Jul 2024 14:32:12 -0700 Subject: [PATCH] [inabox] Set `BATCHER_FINALIZATION_BLOCK_DELAY` to 0 (#631) --- inabox/README.md | 4 +++- inabox/deploy/config.go | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/inabox/README.md b/inabox/README.md index 947dd389f..746a11c45 100644 --- a/inabox/README.md +++ b/inabox/README.md @@ -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: diff --git a/inabox/deploy/config.go b/inabox/deploy/config.go index 5b1614f40..c73f4794d 100644 --- a/inabox/deploy/config.go +++ b/inabox/deploy/config.go @@ -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", }