From 0297791f23a7836d8b6b095513e9d5d5ff2b0ebb Mon Sep 17 00:00:00 2001 From: Pravdyvy Date: Thu, 19 Feb 2026 10:21:51 +0200 Subject: [PATCH] fix: instructions configs --- README.md | 17 +++++++++++++++-- .../configs/debug/sequencer_config.json | 2 +- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 11f60fbc..4f9fa7ca 100644 --- a/README.md +++ b/README.md @@ -142,13 +142,26 @@ The sequencer and logos blockchain node can be run locally: - `./scripts/setup-logos-blockchain-circuits.sh` - `cargo build --all-features` - `./target/debug/logos-blockchain-node --deployment nodes/node/standalone-deployment-config.yaml nodes/node/standalone-node-config.yaml` + + 2. Alternatively (WARNING: This node is outdated) go to ``logos-blockchain/lssa/` repo and run the node from docker: + - `cd bedrock` + - Change line 14 of `docker-compose.yml` from `"0:18080/tcp"` into `"8080:18080/tcp"` + - `docker compose up` - 2. On another terminal go to the `logos-blockchain/lssa` repo and run indexer service: + 3. On another terminal go to the `logos-blockchain/lssa` repo and run indexer service: - `RUST_LOG=info cargo run -p indexer_service indexer/service/configs/indexer_config.json` - 3. On another terminal go to the `logos-blockchain/lssa` repo and run the sequencer: + 4. On another terminal go to the `logos-blockchain/lssa` repo and run the sequencer: - `RUST_LOG=info cargo run -p sequencer_runner sequencer_runner/configs/debug` +### Notes on cleanup + +After stopping services above you need to remove 3 folders to start cleanly: + 1. In the `logos-blockchain/logos-blockchain` folder `db` (not needed in case of docker setup) + 2. In the `lssa` folder `sequencer_runner/rocksdb` + 3. In the `lssa` file `sequencer_runner/bedrock_signing_key` + 4. In the `lssa` folder `indexer/service/rocksdb` + ### Standalone mode The sequencer can be run in standalone mode with: ```bash diff --git a/sequencer_runner/configs/debug/sequencer_config.json b/sequencer_runner/configs/debug/sequencer_config.json index e7ba86b8..350e65f1 100644 --- a/sequencer_runner/configs/debug/sequencer_config.json +++ b/sequencer_runner/configs/debug/sequencer_config.json @@ -5,7 +5,7 @@ "is_genesis_random": true, "max_num_tx_in_block": 20, "mempool_max_size": 1000, - "block_create_timeout_millis": 12000, + "block_create_timeout_millis": 18000, "retry_pending_blocks_timeout_millis": 6000, "port": 3040, "bedrock_config": {