Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
114 commits
Select commit Hold shift + click to select a range
2054584
chore(deps): pull cowprotocol, alloy, redb, reqwest, tracing
brunota20 Jun 1, 2026
f85d3d3
runtime: implement cow-api, chain, local-store host backends
brunota20 Jun 1, 2026
6f669c6
runtime: multi-module supervisor + block/log event loop
brunota20 Jun 1, 2026
8af08bd
docs(adr): add 0001-0007 capturing engine and CoW architecture decisions
brunota20 Jun 2, 2026
3f1dbf8
docs(adr): unwrap hard-wrapped paragraphs to single line each
brunota20 Jun 2, 2026
7e05190
docs(adr): revise CoW design and reorder ADRs (0001-0008)
brunota20 Jun 3, 2026
67a0be7
fix(docs): reviewed ADRs by bleu
brunota20 Jun 3, 2026
e5579a3
fix(docs): revised ADRs and diagrams
brunota20 Jun 8, 2026
ed48319
feat(supervisor): apply ADR-0001/0003/0005/0016 and trap-based module…
brunota20 Jun 9, 2026
1570036
feat(supervisor): add fuel + memory limits per module store (BLEU-818)
brunota20 Jun 9, 2026
32a2198
docs: rename nexum.toml -> module.toml in example, justfile, and READ…
brunota20 Jun 10, 2026
38ac8e3
test: fill host backend test gaps — manifest parsing, cow-api, provid…
brunota20 Jun 10, 2026
fdd64e4
test: E2E supervisor tests + fix wit_import_to_cap to skip type-only …
brunota20 Jun 10, 2026
7131282
style: apply rust-idiomatic rules (em-dashes, #[from] Orderbook, unus…
brunota20 Jun 10, 2026
0679580
review: apply lgahdl feedback on PR #9 (+ rebase PR #8 fixes)
brunota20 Jun 12, 2026
9a97ba9
refactor(manifest): split into types/load/capabilities/error submodules
brunota20 Jun 13, 2026
5ae6368
refactor(main): extract host impls + CLI + event loop + limits
brunota20 Jun 13, 2026
794091a
refactor: move large #[cfg(test)] modules to sibling files
brunota20 Jun 13, 2026
81ee734
chore(deps): patch cowprotocol to bleu/cow-rs main (post-alpha.3)
brunota20 Jun 1, 2026
7161382
Merge PR #15 (feat/cowprotocol-bleu-main-v3) into dev/m2-base
brunota20 Jun 15, 2026
1eca322
Merge PR #12 (docs/adr-bundle) into dev/m2-base
brunota20 Jun 15, 2026
3dbacee
feat(twap-monitor): workspace + skeleton (BLEU-825)
brunota20 Jun 15, 2026
f2b11a7
Stack BLEU-826 on BLEU-825 skeleton
brunota20 Jun 15, 2026
049b184
feat(twap-monitor): index ConditionalOrderCreated → local-store (BLEU…
brunota20 Jun 15, 2026
af00aff
Stack BLEU-827 on BLEU-826
brunota20 Jun 15, 2026
9a13e0c
feat(twap-monitor): eth_call poll path + PollOutcome decoder (BLEU-827)
brunota20 Jun 15, 2026
06f09e8
Stack BLEU-828 on BLEU-827
brunota20 Jun 15, 2026
2c14644
feat(twap-monitor): build OrderCreation and submit via cow-api (BLEU-…
brunota20 Jun 15, 2026
5a42878
chore(deps): bump cowprotocol patch to bleu/cow-rs main (BLEU-822 + B…
brunota20 Jun 15, 2026
f23601b
Stack BLEU-829 on BLEU-828
brunota20 Jun 15, 2026
eb0990a
feat(twap-monitor): wire OrderPostError retry_hint on submit (BLEU-829)
brunota20 Jun 15, 2026
8f2c225
Stack BLEU-830 on BLEU-829
brunota20 Jun 15, 2026
991bc4d
feat(twap-monitor): PollOutcome lifecycle dispatch (BLEU-830)
brunota20 Jun 15, 2026
9aae016
feat(ethflow-watcher): workspace + skeleton (BLEU-831)
brunota20 Jun 15, 2026
6495a58
Stack BLEU-832 on BLEU-831
brunota20 Jun 15, 2026
aba73bb
feat(ethflow-watcher): decode CoWSwapEthFlow OrderPlacement (BLEU-832)
brunota20 Jun 15, 2026
6aec88f
Stack BLEU-833 on BLEU-832
brunota20 Jun 15, 2026
b5d3541
feat(ethflow-watcher): build OrderCreation, submit, apply retry_hint …
brunota20 Jun 15, 2026
7da5636
feat(modules): module.toml for twap-monitor + ethflow-watcher (BLEU-834)
brunota20 Jun 15, 2026
c5e4d7d
fix(ethflow-watcher): idempotency guard on re-delivered placements
brunota20 Jun 15, 2026
7ddcde1
Consolidate TWAP stack (BLEU-825..830) into dev/m3-base
brunota20 Jun 16, 2026
bce33a6
Consolidate EthFlow stack (BLEU-831..833) into dev/m3-base
brunota20 Jun 16, 2026
103c00a
Consolidate manifests (BLEU-834) into dev/m3-base
brunota20 Jun 16, 2026
c14cf33
feat(shepherd-sdk): workspace + skeleton (BLEU-835)
brunota20 Jun 17, 2026
b834625
feat(shepherd-sdk): extract shared helpers from M2 modules (BLEU-840)
brunota20 Jun 17, 2026
f66da47
refactor(modules): consume shepherd-sdk helpers (BLEU-843)
brunota20 Jun 17, 2026
08fd314
feat(shepherd-sdk-test): in-memory host mocks for module tests (BLEU-…
brunota20 Jun 17, 2026
b44d7bc
docs(shepherd-sdk): rustdoc polish + README + docs/sdk.md (BLEU-844)
brunota20 Jun 17, 2026
7b8c90d
feat(examples): price-alert Chainlink oracle reader (BLEU-846)
brunota20 Jun 17, 2026
9e59704
feat(examples): balance-tracker example module (BLEU-847)
brunota20 Jun 17, 2026
1b3ea65
docs(tutorial): first-module walkthrough (BLEU-848)
brunota20 Jun 17, 2026
1947f21
chore: rust-idiomatic compliance pass across M3 + M2 modules
brunota20 Jun 17, 2026
1a56869
refactor(price-alert): port to Host trait + MockHost tests (BLEU-851)
brunota20 Jun 17, 2026
02edd9b
feat(examples): stop-loss module + tutorial as guided tour (BLEU-852)
brunota20 Jun 17, 2026
d1a310d
refactor(twap-monitor): port to Host trait + MockHost tests (BLEU-854)
brunota20 Jun 17, 2026
ce8ae16
refactor(ethflow-watcher): port to Host trait + MockHost tests (BLEU-…
brunota20 Jun 17, 2026
231ba75
chore(qa): workspace cargo fmt sweep + em-dash cleanup (COW-1063)
brunota20 Jun 17, 2026
63ff135
docs(qa): COW-1063 sign-off matrix + architectural findings
brunota20 Jun 17, 2026
9e24883
docs: resolve QA findings - ADR-0009 + doc 05 status callouts
brunota20 Jun 17, 2026
78ab16a
ci: build all production module .wasm targets via matrix (COW-1066)
brunota20 Jun 17, 2026
790977a
ci: gate cargo doc warnings (-D warnings) + fix 3 broken intra-doc li…
brunota20 Jun 17, 2026
2530271
docs(shepherd-sdk): add 6 doctests covering Host trait + helper API (…
brunota20 Jun 17, 2026
eb58833
test(nexum-engine): supervisor integration tests for 5 production mod…
brunota20 Jun 17, 2026
21def5a
docs(m2): testnet runbook + engine.m2.toml + `just run-m2` (validated…
brunota20 Jun 17, 2026
80044a4
fix(event_loop): do not bail boot when block / log stream Vec is empty
brunota20 Jun 18, 2026
8acd9e2
docs(m3): testnet runbook + engine.m3.toml + `just run-m3` (validated…
brunota20 Jun 18, 2026
cb15799
docs(m3): testnet edge-case validation report - 5 scenarios run, all …
brunota20 Jun 18, 2026
b40d092
fix(supervisor): mark module alive=false when init returns Err (COW-1…
brunota20 Jun 18, 2026
b3bbbbb
feat(sdk): mark HostErrorKind + LogLevel #[non_exhaustive] (COW-1029)
brunota20 Jun 18, 2026
a9497ab
test(resource-limits): 2 evil fixtures + 3 trap-isolation tests (COW-…
brunota20 Jun 18, 2026
33400fd
feat(logging): JSON formatter + structured dispatch fields (COW-1035)
brunota20 Jun 18, 2026
4e2fa1c
feat(metrics): Prometheus /metrics endpoint + 4 recording sites (COW-…
brunota20 Jun 18, 2026
8bb9810
feat(supervisor): exponential-backoff restart with component reinstan…
brunota20 Jun 18, 2026
f3ab5ef
feat(event-loop): WS reconnect with exponential backoff per stream (C…
brunota20 Jun 18, 2026
1a964e8
feat(supervisor): poison-pill detection + quarantine (COW-1032)
brunota20 Jun 18, 2026
8137dc1
feat(event-loop+supervisor): graceful shutdown + last-block persisten…
brunota20 Jun 18, 2026
a542fc8
test(supervisor): multi-chain isolation regression tests (COW-1073)
brunota20 Jun 18, 2026
9e074b3
feat(ops): E2E testnet integration scaffold (COW-1064)
brunota20 Jun 18, 2026
cebad60
docs(ops): production deployment guide (COW-1030)
brunota20 Jun 18, 2026
9db8e5d
ops(e2e): pin module configs + run-prep punch list for 2026-06-18 COW…
brunota20 Jun 18, 2026
c5e394e
ops(e2e): automation scripts for COW-1064 run (.env-file pattern)
brunota20 Jun 18, 2026
6877c66
fix(scripts): match JSON-shape supervisor-ready log line (COW-1064)
brunota20 Jun 18, 2026
d10a329
fix(scripts): macOS bash 3.2 compatibility (COW-1064)
brunota20 Jun 18, 2026
155e27c
fix(scripts): idempotent on-chain submission + python deps pre-flight…
brunota20 Jun 18, 2026
0167622
fix(scripts): EthFlow quote uses WETH not native-ETH sentinel (COW-1064)
brunota20 Jun 18, 2026
5bcd47b
fix(scripts): report-gen handles flat JSON + per-module marker patter…
brunota20 Jun 18, 2026
acc9654
feat(sdk + twap-monitor): resolve non-empty app_data via orderbook lo…
brunota20 Jun 18, 2026
cd68de0
fix(ethflow-watcher): apply resolve_app_data to submit_placement (COW…
brunota20 Jun 18, 2026
16ad2b2
ops(e2e): COW-1064 run report 2026-06-18
brunota20 Jun 18, 2026
e384908
fix(cow-api): forward orderbook ApiError envelope to HostError.data (…
brunota20 Jun 19, 2026
506b50d
feat(ethflow-watcher): downgrade ExcessiveValidTo drops to Info (COW-…
brunota20 Jun 19, 2026
d39c509
fix(scripts): derive TWAP calldata with t0=now-60 (COW-1077)
brunota20 Jun 19, 2026
2188ef0
chore(sdk + twap-monitor): hex helpers via alloy_primitives::hex::encode
brunota20 Jun 19, 2026
613b104
feat(load-test): Anvil fork + mock orderbook + load-gen (COW-1079)
brunota20 Jun 19, 2026
59fe714
ops(load): baseline 5x5 report - engine clean, load-gen needs calibra…
brunota20 Jun 19, 2026
276f02a
fix(scripts): load-run.sh REPORTS_DIR set after lib.sh source (COW-1079)
brunota20 Jun 19, 2026
f6f65f2
fix(load-gen): explicit nonce + unique EthFlow sellAmount (COW-1080)
brunota20 Jun 19, 2026
8cb0967
ops(load): medium + saturation reports - engine clean at 300 watches …
brunota20 Jun 19, 2026
d3a3976
feat(load-gen): --parallel mode + aggressive saturation report (COW-1…
brunota20 Jun 19, 2026
e22db83
feat(ops): baseline tool — EthFlow indexer creationDate semantics (CO…
brunota20 Jun 22, 2026
5ba604f
feat(engine): forward eth_call ErrorResp.data into HostError.data (CO…
brunota20 Jun 22, 2026
432b1c9
feat(ethflow-watcher): cap backoff: retries at MAX_BACKOFF_RETRIES (C…
brunota20 Jun 22, 2026
3c6f0bd
feat(backtest): pre-soak EthFlow replay harness (COW-1078)
brunota20 Jun 22, 2026
7a706bf
feat(deploy): Dockerfile + compose + ghcr CI for M5 deployment
brunota20 Jun 22, 2026
8b02044
chore(deploy): gitignore /engine.toml to protect operator RPC keys
brunota20 Jun 22, 2026
4a0953d
feat(engine): fail-fast on HTTP rpc_url + redact API keys in boot logs
brunota20 Jun 22, 2026
4bedbbf
feat(engine): ${VAR} env-var substitution in engine.toml for RPC URLs
brunota20 Jun 22, 2026
621ee8b
fix(deploy): healthcheck uses bash /dev/tcp (wget not in runtime image)
brunota20 Jun 22, 2026
f515834
fix(deploy): healthcheck must invoke bash explicitly (CMD-SHELL is dash)
brunota20 Jun 22, 2026
6215810
deploy: ethflow-watcher observe + verify redesign rebased onto M5
brunota20 Jun 23, 2026
94eff8b
fix(twap-monitor): skip submit_order when submitted:{uid} already in …
brunota20 Jun 23, 2026
59d09eb
feat(event-loop): log block stream gap closures from alloy-internal r…
brunota20 Jun 23, 2026
3b5a6fb
chore(rust-idiomatic): M5 compliance pass (cherry-pick M4 + M5 deploy…
brunota20 Jun 24, 2026
04381d3
chore(docs): reconcile vapor + capability-gating drift across M2-M5 (…
brunota20 Jun 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Build context exclusion list for `docker build .`. Keeping the
# context lean matters: every byte sent to the daemon is hashed for
# the build's source-changed signal, and the production multi-stage
# Dockerfile already invalidates the dependency layer cache on any
# Cargo.lock / Cargo.toml change.

# Cargo build artefacts — re-built inside the build stage anyway.
/target/
target/
**/target/

# Runtime state directory the engine writes the redb file into. Never
# part of the image.
/data/
data/

# Backtest tooling output: large JSON fixtures + Python venv state.
# Re-collected on demand via `tools/backtest-collect/backtest_collect.py`.
tools/backtest-collect/fixtures-*.json
tools/baseline-latency/data/
tools/**/__pycache__/
tools/**/*.pyc

# NOTE: `modules/fixtures/*-bomb` are listed in the workspace
# `Cargo.toml`, so excluding them breaks `cargo build` ("failed to
# load manifest for workspace member"). They're tiny crates and the
# Dockerfile doesn't COPY them to the runtime stage, so the
# image size impact is zero. Keep them in the build context.

# Local-only configs. The production `engine.toml` is supplied at
# runtime via a bind-mount (`/etc/shepherd/engine.toml`).
engine.toml
engine.e2e.toml
engine.load.toml
engine.m2.toml
engine.m3.toml

# Git + GitHub metadata.
/.git/
/.github/
.gitignore

# Editor / OS noise.
.vscode/
.idea/
.DS_Store
*.swp

# Operator-side docs reports the image doesn't need. Source markdown
# stays so it's discoverable inside the container if an operator
# `docker exec`s in for a quick `cat docs/production.md`.
docs/operations/load-reports/
docs/operations/e2e-reports/
docs/operations/backtest-reports/
docs/operations/baselines/
25 changes: 25 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Operator template — copy to `.env` and fill in your paid RPC URLs.
# `.env` is gitignored; never commit a populated copy.
#
# Workflow:
# cp .env.example .env
# $EDITOR .env
# docker compose up -d
#
# The engine reads these via `${VAR}` placeholders in
# `engine.docker.toml` (substitution happens at config-load time,
# before TOML parse, so a missing variable fails fast).
#
# Use `wss://` schemes — `eth_subscribe` is WebSocket-only and the
# engine emits a boot-time ERROR on http(s):// URLs (see
# docs/production.md §6 and engine_config::validate_transports).

MAINNET_RPC_URL=wss://eth-mainnet.g.alchemy.com/v2/REPLACE_ME
GNOSIS_RPC_URL=wss://gnosis-mainnet.g.alchemy.com/v2/REPLACE_ME
SEPOLIA_RPC_URL=wss://eth-sepolia.g.alchemy.com/v2/REPLACE_ME
ARBITRUM_RPC_URL=wss://arb-mainnet.g.alchemy.com/v2/REPLACE_ME
BASE_RPC_URL=wss://base-mainnet.g.alchemy.com/v2/REPLACE_ME

# Optional: override the published image with a locally-built or
# pinned-by-SHA tag. Leave unset to pull `:latest` from ghcr.io.
# SHEPHERD_IMAGE=ghcr.io/bleu/nullis-shepherd:sha-abc1234
36 changes: 34 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,46 @@ jobs:
- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
- run: cargo test --workspace --all-features --no-fail-fast

docs:
name: rustdoc
runs-on: ubuntu-latest
env:
RUSTDOCFLAGS: "-D warnings"
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9 # master 2026-03-27
with:
toolchain: nightly
targets: wasm32-wasip2
- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
- run: cargo doc --workspace --no-deps

build-module:
name: build example module
name: build ${{ matrix.module }} (wasm32-wasip2)
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
module:
- example
- twap-monitor
- ethflow-watcher
- price-alert
- balance-tracker
- stop-loss
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9 # master 2026-03-27
with:
toolchain: nightly
targets: wasm32-wasip2
- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
- run: cargo build -p example --target wasm32-wasip2 --release
- run: cargo build -p ${{ matrix.module }} --target wasm32-wasip2 --release
- name: report wasm size
run: |
artifact_name=$(echo "${{ matrix.module }}" | tr '-' '_')
wasm_path="target/wasm32-wasip2/release/${artifact_name}.wasm"
if [ -f "$wasm_path" ]; then
size=$(wc -c < "$wasm_path")
echo "${{ matrix.module }} .wasm size: ${size} bytes"
fi
88 changes: 88 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
# Docker image build + publish to ghcr.io.
#
# Triggers:
# - push to `main` → publish `latest` + `sha-<sha>`
# - tag push `v*` → publish `v<tag>` + `latest`
# - workflow_dispatch (manual) → publish `manual-<run_id>`
# - pull_request to `main` → build only, no push (CI smoke)
#
# Image: ghcr.io/<owner>/nullis-shepherd
# Auth: GITHUB_TOKEN (scoped to packages:write below).
#
# Pinned action SHAs match the style of `.github/workflows/ci.yml`.

name: docker

on:
push:
branches: [main]
tags: ["v*"]
pull_request:
branches: [main]
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read
packages: write

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}

jobs:
build-and-push:
name: build + push (${{ github.event_name }})
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Set up Docker buildx
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1

- name: Log in to ghcr.io
if: github.event_name != 'pull_request'
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Compute image metadata
id: meta
uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.0
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
# `latest` on push to main and on tag.
type=raw,value=latest,enable={{is_default_branch}}
type=ref,event=tag
# `sha-<short>` on every event so a soak run can pin an
# exact build.
type=sha,prefix=sha-,format=short
# manual-<run_id> for workflow_dispatch.
type=raw,value=manual-${{ github.run_id }},enable=${{ github.event_name == 'workflow_dispatch' }}
# `pr-<n>` on pull-request builds so the smoke artefact
# is identifiable. PR builds are NOT pushed (see `push:`).
type=ref,event=pr,prefix=pr-

- name: Build + push
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
with:
context: .
file: ./Dockerfile
# Push on every non-PR event; PR builds are local-only smoke.
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
# Layer cache via the registry: the previous successful
# build's intermediate layers are reused so a Cargo.toml-only
# change re-compiles only the changed crate.
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache
cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache,mode=max,ignore-error=true
# `amd64` is enough for the soak VM. Add `arm64` once an
# operator surfaces a real need; multi-arch ~2x the build.
platforms: linux/amd64
27 changes: 27 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,30 @@ Thumbs.db
# Environment
.env
.env.*
# Exception: the committed template (operator copies it to `.env`,
# which is then caught by the rule above).
!.env.example

# Agent skills / AI tooling — installed locally, never committed.
.agents/
.claude/
skills-lock.json

# Engine runtime state (default state_dir from engine.toml).
data/

# E2E automation: rendered configs with embedded RPC keys + script state
# never get committed.
*.local.toml
scripts/.state
scripts/.env

# Operator-supplied engine config (carries paid RPC URLs / API keys).
# The committed siblings `engine.example.toml`, `engine.docker.toml`,
# and `engine.{m2,m3,e2e,load}.toml` are placeholder templates.
/engine.toml

# Generated reports under e2e-reports/ (operator commits the filled-in ones
# manually via `git add -f`).
docs/operations/e2e-reports/engine-*.log
docs/operations/e2e-reports/metrics-*.txt
27 changes: 27 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,20 @@
[workspace]
members = [
"crates/nexum-engine",
"crates/shepherd-backtest",
"crates/shepherd-sdk",
"crates/shepherd-sdk-test",
"modules/ethflow-watcher",
"modules/example",
"modules/examples/balance-tracker",
"modules/examples/price-alert",
"modules/examples/stop-loss",
"modules/fixtures/flaky-bomb",
"modules/fixtures/fuel-bomb",
"modules/fixtures/memory-bomb",
"modules/twap-monitor",
"tools/load-gen",
"tools/orderbook-mock",
]
resolver = "2"

Expand All @@ -10,6 +23,20 @@ edition = "2024"
license = "AGPL-3.0"
repository = "https://github.com/nullisLabs/shepherd"

# `cowprotocol` v1.0.0-alpha.3 (the crates.io release the engine
# depends on) was cut from `cowdao-grants/cow-rs` PR #5 at commit
# `1742ffa`. `bleu/cow-rs` main has diverged since with: the
# `composable::Proof` width fix (relevant to the TWAP poll path),
# `OrderCreation` zero-from-address fast-fail, the `order_book` /
# `composable` submodule splits, `OrderPostErrorKind` + `retry_hint()`
# (BLEU-822, the protocol-level retry contract M2 modules dispatch
# on), and `OrderBookApi::with_base_url(chain, base_url)` for barn /
# staging routing (BLEU-823). Patching to that commit picks the lot
# up without waiting for an alpha.4 publish. Drop once
# `cowprotocol >= 1.0.0-alpha.4` ships.
[patch.crates-io]
cowprotocol = { git = "https://github.com/bleu/cow-rs", rev = "57f5f553ab28c9fff54089daf2d39b4282f3e4dd" }

[profile.dev]
panic = "abort"

Expand Down
Loading
Loading