Arseniy Klempner
b3b71bc2a5
feat(sim): slim-mode submodule minimization
...
Three changes:
- vendor/logos-lez-rln bump: drops unused top-level logos-delivery
submodule (~1.3 GB saved per fresh clone).
- setup_and_run.sh: gate lssa + logos-execution-zone-module init on
SIM_NETWORK=local (or SIM_FULL_SUBMODS=1). Default Docker setup now
pulls only logos-delivery-module (+ nested logos-delivery), saving
~11 GB of lssa for slim/testnet fresh clones.
- run_simulation.sh: stop requiring lssa/ to exist when discovering
LEZ_RLN_DIR in the sibling-checkout layout.
- README: slim-mode minimum-submodule recipe + rationale.
2026-05-17 22:17:20 -06:00
Arseniy Klempner
932627d636
fix: update sim for SPEL 32-byte tree_id and submodule restore
...
TREE_ID_HEX updated from 24 to 32 bytes to match SPEL's tree_id format,
fixing stale payment account lookup that caused silent registration
failures (KeyNotFound error 8).
setup_and_run.sh now restores working tree files in all nested
submodules after git submodule update --init, which resets them.
2026-05-12 13:24:46 -06:00
Arseniy Klempner
695ecb42bc
feat: add mix+LEZ chat simulation with Docker support
...
End-to-end simulation: 4 mix nodes with RLN spam protection, LEZ
sequencer, gifter service, and two logos-chat-module clients exchanging
double-ratchet-encrypted messages through 3-hop Sphinx onion routes.
Simulation scripts:
- run_simulation.sh: orchestrates sequencer, mix nodes, chat clients,
with poll-based readiness checks and 15 verification checks
- setup_and_run.sh: one-shot build + run for fresh clones
- run_in_docker.sh: Docker-based Linux testing with pre-built modules
- README.md: configuration, troubleshooting, architecture guide
Configurable via SIM_* env vars (ports, timeouts, log level).
Cross-platform: macOS native + Linux via Docker.
Docker image (Dockerfile.sim) uses multi-stage build:
- Stage 1: builds all LEZ modules, sequencer, liblogoschat, chat-module
- Stage 2: copies only runtime nix closure (~1.9GB) + output artifacts
- Pre-built modules are symlinked at runtime, skipping build_all.sh
2026-05-06 10:50:14 -06:00