{"id":37353009,"url":"https://github.com/loadnetwork/ultramarine","last_synced_at":"2026-01-16T04:05:06.836Z","repository":{"id":308522942,"uuid":"1033076734","full_name":"loadnetwork/ultramarine","owner":"loadnetwork","description":null,"archived":false,"fork":false,"pushed_at":"2025-12-18T21:36:55.000Z","size":1683,"stargazers_count":2,"open_issues_count":8,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-18T21:40:05.712Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/loadnetwork.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-06T09:06:15.000Z","updated_at":"2025-12-18T21:36:26.000Z","dependencies_parsed_at":"2025-08-06T12:23:54.204Z","dependency_job_id":"7365018c-8383-4854-8886-4476cfeca74c","html_url":"https://github.com/loadnetwork/ultramarine","commit_stats":null,"previous_names":["loadnetwork/ultramarine"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/loadnetwork/ultramarine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loadnetwork%2Fultramarine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loadnetwork%2Fultramarine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loadnetwork%2Fultramarine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loadnetwork%2Fultramarine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/loadnetwork","download_url":"https://codeload.github.com/loadnetwork/ultramarine/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loadnetwork%2Fultramarine/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28477206,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T03:13:13.607Z","status":"ssl_error","status_checked_at":"2026-01-16T03:11:47.863Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-16T04:05:06.705Z","updated_at":"2026-01-16T04:05:06.819Z","avatar_url":"https://github.com/loadnetwork.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"Inspired by: \u003chttps://github.com/circlefin/malaketh-layered\u003e\n\n```\n# Format code\ncargo +nightly fmt --all\n\n# Run lints\nRUSTFLAGS=\"-D warnings\" cargo +nightly clippy --workspace --all-features --locked\n\n# Run tests\ncargo nextest run --workspace\n\n# Run specific benchmark\ncargo bench --bench bench_name\n\n# Build optimized binary\ncargo build --release --features \"jemalloc asm-keccak\"\n\n# Check compilation for all features\ncargo check --workspace --all-features\n\n# Check documentation\ncargo docs --document-private-items\n```\n\n## ⚙️ Development workflow with `make`\n\nThe root-level **Makefile** wraps cargo, linting, testing, and release chores behind short, memorable commands.\\\nIt gives every contributor identical tooling, flags problems early, and produces reproducible artefacts that match CI.\n\n### Why use it?\n\n- **One-liners** – build, test, lint, release, Docker, coverage… no long cargo flags.\n- **Repro builds** – `make build-reproducible` → deterministic binaries.\n- **Cross-compile** – `make build-\u003ctriple\u003e` via `cross`.\n- **Quality gates** – clippy + rustfmt + typos + TOML formatting in one `make lint`.\n- **Fast tests \u0026 coverage** – `cargo-nextest` + `cargo-llvm-cov` integrated.\n- **CI parity** – `make ci` runs the same steps locally that the pipeline enforces.\n- **Docker \u0026 release helpers** – multi-arch `docker buildx` and semver publishing baked in.\n\n### Quick-start\n\n```bash\n# one-time: install helper tools\nmake tools\n\n# everyday\nmake build              # release build\nmake build-debug        # debug build\nmake run ARGS=\"--help\"  # run with args\nmake dev                # auto-reloading dev loop\nmake lint               # clippy, fmt, typos, dprint\nmake test               # unit + doc tests\nmake cov-report-html    # HTML coverage\nmake build-reproducible # deterministic binary\nmake build-aarch64-unknown-linux-gnu  # cross-compile\nmake docker-build       # local image\nmake release-dry        # cargo publish dry-run\n```\n\n### Local Testnet\n\nThe Makefile includes targets for running a complete local testnet with either an HTTP or IPC based Engine API.\\\nBefore starting the stack, copy `.env.example` → `.env`, set `ULTRAMARINE_ARCHIVER_BEARER_TOKEN` to your Load Cloud Platform (load_acc) API key (see the [LS3 with load_acc docs](https://docs.load.network/load-cloud-platform-lcp/ls3-with-load_acc)), and run `make` from the `ultramarine/` directory so Docker Compose automatically loads the file.\n\n```bash\ncp .env.example .env\n$EDITOR .env   # set ULTRAMARINE_ARCHIVER_BEARER_TOKEN=...\n```\n\n```bash\n# Run a local testnet with Engine API over HTTP\nmake all\n\n# Run a local testnet with Engine API over IPC (Docker)\nmake all-ipc\n\n# Stop the testnet (use stop-ipc for the IPC variant)\nmake stop\n\n# Clean the testnet data (use clean-net-ipc for the IPC variant)\nmake clean-net\n```\n\nThe EL defaults to the published Load image `docker.io/loadnetwork/load-reth:v0.1.2`. Override with `LOAD_RETH_IMAGE=\u003cref\u003e` if you need a different tag.\n\n\u003e **Genesis alignment:** every `make all` / `make all-ipc` regenerates `assets/genesis.json` and automatically wipes the EL datadirs (`rethdata/*`, `ipc/*`) via `make reset-el-state`. This keeps load-reth and Ultramarine on the exact same genesis. Do not point the EL at `etc/load-dev-genesis.json` when running with Ultramarine—the `assets/` file is the single source of truth. If you update the genesis manually, run `make reset-el-state` before restarting the stack so the EL database is rebuilt from the new config.\n\n\u003e **Pinned P2P identities:** `assets/p2p-keys/reth{0,1,2}.key` hold the devnet’s discovery secrets. Compose passes them via `--p2p-secret-key`, so even if `rethdata/*` is wiped the load-reth nodes keep the same `enode://…` IDs and auto-peer using the hardcoded `--bootnodes`. If you rotate these keys, regenerate the files first (e.g. `openssl rand -hex 32 \u003e assets/p2p-keys/reth0.key`), then update the `--bootnodes` entries in both compose files with the new `admin_nodeInfo` output.\n\nFor more details on the testnet setup, see `docs/DEV_WORKFLOW.md`.\n\n### Blob Testing (EIP-4844)\n\nTest blob sidecars with full observability:\n\n```bash\n# Start testnet\nmake all\n\n# Run blob spam (60s @ 50 TPS, 6 blobs/tx *per* EL RPC)\nmake spam-blobs\n\n# Check blob metrics\ncurl http://localhost:29000/metrics | grep blob_engine\n\n# View Grafana dashboard at http://localhost:3000\n# Look for the \"Blob Engine\" section with 9 panels\n```\n\nBlob metrics track verification, storage, lifecycle (promoted/dropped/pruned), and consensus integration. See `docs/DEV_WORKFLOW.md` for complete blob testing guide.\n\n### Before a PR\n\n```bash\nmake pr   # lint → tests → audit\n```\n\n### Docs\n\n```bash\nmake doc              # public API docs\nmake rustdocs         # exhaustive docs (private items, extra flags)\nmake update-book-cli  # regenerate CLI/book docs (if script exists)\n```\n\n### Target categories\n\n| Category     | Examples (short)                    |\n| ------------ | ----------------------------------- |\n| **Build**    | `build`, `build-%`, `install`       |\n| **Dev**      | `dev`, `run`                        |\n| **Testing**  | `test`, `test-nextest`, `bench`     |\n| **Coverage** | `cov`, `cov-report-html`            |\n| **Quality**  | `fmt`, `clippy`, `lint`             |\n| **Deps**     | `deps-check`, `audit`               |\n| **Docs**     | `doc`, `rustdocs`                   |\n| **Docker**   | `docker-build`, `docker-build-push` |\n| **Release**  | `release-dry`, `release-patch`      |\n\nRun `make help` anytime to see all targets with a one-line description.\n\n### Prerequisites\n\n- Rust ≥ 1.74 (nightly toolchain recommended for rustfmt + clippy-fix).\n- `cross` + Docker for cross targets \u0026 multi-arch images.\n- GNU Make 4.x or newer.\n- Optional helper tools (`cargo-nextest`, `cargo-llvm-cov`, `dprint`, `typos-cli`, …) —install via `make tools`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floadnetwork%2Fultramarine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Floadnetwork%2Fultramarine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floadnetwork%2Fultramarine/lists"}