Skip to content

Commit

Permalink
Fixes for traffic generator docker file (Layr-Labs#840)
Browse files Browse the repository at this point in the history
Signed-off-by: Cody Littley <[email protected]>
  • Loading branch information
cody-littley authored and ian-shim committed Oct 29, 2024
1 parent 7d4e12f commit 24ab1f5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
6 changes: 0 additions & 6 deletions tools/traffic/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,9 @@ run2: build2
RETRIEVER_BLS_OPERATOR_STATE_RETRIVER=0x5f3f1dBD7B74C6B46e8c44f98792A1dAf8d69154 \
RETRIEVER_EIGENDA_SERVICE_MANAGER=0x851356ae760d987E095750cCeb3bC6014560891C \
RETRIEVER_TIMEOUT=10s \
TRAFFIC_GENERATOR_TIMEOUT=10s \
TRAFFIC_GENERATOR_NUM_WRITE_INSTANCES=1 \
TRAFFIC_GENERATOR_WRITE_REQUEST_INTERVAL=1s \
TRAFFIC_GENERATOR_DATA_SIZE=1000 \
TRAFFIC_GENERATOR_RANDOMIZE_BLOBS=true \
TRAFFIC_GENERATOR_SIGNER_PRIVATE_KEY_HEX=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA \
TRAFFIC_GENERATOR_PRIVATE_KEY=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA \
TRAFFIC_GENERATOR_METRICS_HTTP_PORT=9101 \
Expand All @@ -45,9 +43,5 @@ run2: build2
TRAFFIC_GENERATOR_CACHE_PATH=../../inabox/resources/kzg/SRSTables \
TRAFFIC_GENERATOR_SRS_ORDER=3000 \
TRAFFIC_GENERATOR_SRS_LOAD=3000 \
TRAFFIC_GENERATOR_NUM_WORKERS=4 \
TRAFFIC_GENERATOR_CHAIN_RPC=http://localhost:8545 \
TRAFFIC_GENERATOR_NUM_RETRIES=2 \
TRAFFIC_GENERATOR_METRICS_FUZZY_BLACKLIST=_returned_chunk,recombination_success \
TRAFFIC_GENERATOR_METRICS_BLACKLIST=get_status_CONFIRMED \
./bin/server2
1 change: 1 addition & 0 deletions trafficgenerator2.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ RUN --mount=type=cache,target=/go/pkg/mod \
FROM alpine:3.18 as generator2

COPY --from=builder /app/tools/traffic/bin/generator /usr/local/bin
COPY --from=builder /app/inabox/resources /resources

ENTRYPOINT ["generator"]

0 comments on commit 24ab1f5

Please sign in to comment.