From 59eecf7b72b420faedd4ceef053426d18f767f3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erce=20Can=20Bekt=C3=BCre?= Date: Tue, 1 Oct 2024 11:00:52 +0300 Subject: [PATCH] Fix configs --- resources/configs/mock-dockerized/rollup_config.toml | 9 +++------ resources/hive/Dockerfile | 2 +- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/resources/configs/mock-dockerized/rollup_config.toml b/resources/configs/mock-dockerized/rollup_config.toml index e3e26ba9f..73d0ef41a 100644 --- a/resources/configs/mock-dockerized/rollup_config.toml +++ b/resources/configs/mock-dockerized/rollup_config.toml @@ -9,16 +9,13 @@ db_path = "resources/dbs/da-db" [storage] # The path to the rollup's data directory. Paths that do not begin with `/` are interpreted as relative paths. -path = "resources/dbs/full-node-db" +path = "resources/dbs/sequencer-db" db_max_open_files = 5000 [rpc] # the host and port to bind the rpc server for bind_host = "0.0.0.0" -bind_port = 8545 +bind_port = 12345 +max_connections = 10000 enable_subscriptions = true max_subscriptions_per_connection = 100 - -[runner] -sequencer_client_url = "http://0.0.0.0:8545" -include_tx_body = false diff --git a/resources/hive/Dockerfile b/resources/hive/Dockerfile index 4f9ff0d3c..d8773d98f 100644 --- a/resources/hive/Dockerfile +++ b/resources/hive/Dockerfile @@ -18,4 +18,4 @@ RUN SKIP_GUEST_BUILD=1 cargo build --release --bin citrea EXPOSE 8545 -ENTRYPOINT ["sh", "-c", "./resources/configs/mock-dockerized/publish_da_block.sh & ./target/release/citrea --genesis-paths ./resources/genesis/mock-dockerized --rollup-config-path ./configs/mock-dockerized/rollup_config.toml --sequencer-config-path ./configs/mock-dockerized/sequencer_config.toml"] +ENTRYPOINT ["sh", "-c", "./resources/configs/mock-dockerized/publish_da_block.sh & ./target/release/citrea --genesis-paths ./resources/genesis/mock-dockerized --rollup-config-path ./resources/configs/mock-dockerized/rollup_config.toml --sequencer-config-path ./resources/configs/mock-dockerized/sequencer_config.toml"]