Skip to content

Rename OrderBook to Raindex#2526

Open
thedavidmeister wants to merge 61 commits intomainfrom
rename-orderbook-to-raindex
Open

Rename OrderBook to Raindex#2526
thedavidmeister wants to merge 61 commits intomainfrom
rename-orderbook-to-raindex

Conversation

@thedavidmeister
Copy link
Copy Markdown
Contributor

@thedavidmeister thedavidmeister commented Mar 27, 2026

Summary

Comprehensive rename of "OrderBook" / "orderbook" to "Raindex" / "raindex" across the entire codebase and dependent repositories.

What changed

  • ~10,000+ string references renamed across all crates, packages, subgraph, Solidity, CI, docs
  • Struct fields, variable names, function names, type names, error variants
  • ob_id struct field → raindex_id (~300 usages)
  • All ob abbreviation variable names → descriptive raindex* names
  • Directory renames: src/concrete/ob/src/concrete/raindex/, test/concrete/ob/test/concrete/raindex/
  • packages/orderbookpackages/raindex (directory rename)
  • SvelteKit route params: [orderbook][raindex]
  • Nix commands: ob-rs-testraindex-rs-test, ob-ui-components-preluderaindex-ui-components-prelude, rainix-ob-cli-artifactraindex-cli-artifact
  • Subgraph schema: Orderbook entity → Raindex, all orderbook fields → raindex
  • Goldsky subgraph name: ob4raindex
  • Rainlang sub-parser word: "orderbook""raindex" (breaking for existing expressions)
  • Sub-parser pointers regenerated (new bytecode hash and deployment address)
  • Gas snapshot regenerated
  • Audit markdown files deleted (all findings triaged, remaining items in GitHub issues Test: spender != pool path in GenericPool _exchange #2533-Add zero-address guards for decoded spender/pool in LibGenericPoolExchange #2539)

Companion PRs (merged)

Breaking changes

Surface Change Impact
YAML config Version bumped to 6. orderbooks:raindexes:, orderbook:raindex: All .rain frontmatter and standalone YAML configs must be updated
DB schema orderbook_address columns → raindex_address across all tables (including PRIMARY KEYs). DB_SCHEMA_VERSION bumped 2→3 Existing local databases are incompatible — requires fresh sync
Remote DB dumps Column names changed in dump SQL Remote dumps must be rebuilt before local clients can bootstrap
Subgraph schema Orderbook entity → Raindex, all orderbook fields → raindex on every entity (Vault, Order, Trade, Deposit, Withdrawal, etc.) Subgraphs need redeployment. All existing queries using old field names break
Goldsky deployment ob4raindex New subgraph instances deployed. Old ob4-* endpoints stop updating
REST API "orderbook" field → "raindex" in TakeOrdersReadyResponse. Doc strings updated ("the raindex contract") API consumers parsing that field break
npm package @rainlanguage/orderbook@rainlanguage/raindex All importers must update package.json and imports. Not an in-place upgrade — new package name
WASM/JS API classes OrderbookYamlRaindexYaml, OrderbookYamlErrorRaindexYamlError, getOrderbookByAddress()getRaindexByAddress() All JS/TS consumers of the WASM API must update class and method names
WASM getters .orderbook().raindex() on RaindexOrder, RaindexVault, TakeOrdersInfo; .orderbookAddress.raindexAddress on DeploymentTransactionArgs All code accessing these properties must update
JSON serialization "obId""raindexId" on sync status; "orderbookAddress""raindexAddress" on vault/order objects; "orderbook""raindex" on trade/order objects All consumers of serialized JSON (frontend, tools, API clients) must update field names
Rainlang word Sub-parser word "orderbook""raindex". Sub-parser bytecode and deterministic deploy address changed Existing compiled expressions unaffected. Source .rain files using orderbook() must update. New sub-parser must be deployed
Webapp URLs /orders/[chainId]-[orderbook]-[orderHash][raindex], same for vaults Bookmarked URLs break
CLI ob-addr alias → raindex-addr Scripts using old alias break
Nix commands ob-rs-test, ob-ui-components-prelude, rainix-ob-cli-artifact renamed CI/scripts referencing old names break
UI labels "Orderbook" → "Raindex" in webapp Visual change for users

Intentionally preserved

  • Deprecated IOrderBookV1-V5 Solidity interfaces in lib/rain.raindex.interface/src/interface/deprecated/ — historical ABIs for backwards compatibility
  • 1 historical comment in crates/settings/src/local_db_manifest.rs documenting the DB column rename
  • raindexs in GraphQL codegen — The Graph framework naively appends s to entity names

Migration checklist

  • Rebuild remote DB dumps with new schema (raindex_address columns)

  • Deploy new sub-parser contract (bytecode changed)

  • Deploy new Goldsky subgraphs (raindex-*)

  • Update subgraph URLs in all strategy YAML configs

  • Update rain.strategies registry to version 6 with raindexes: keys

  • Update RAINLANG_URL in packages/webapp/src/lib/constants.ts to new strategies commit

  • Update external .rain strategy files: orderbooks:raindexes:, orderbook:raindex:, version: 6

  • Update external .rain source using orderbook() word → raindex()

  • Update any API consumers parsing old JSON field names

  • Update any JS/TS code using OrderbookYamlRaindexYaml, .orderbook().raindex(), etc.

  • Publish new @rainlanguage/raindex npm package

  • Coordinate npm publish — consumers must explicitly switch from @rainlanguage/orderbook to @rainlanguage/raindex

  • Merge Rename ob-yaml.md to raindex-yaml.md specs#52 (rename ob-yaml.md → raindex-yaml.md)

  • Verify Vercel project configs point to packages/raindex (not packages/orderbook)

  • Users clear local DB cache (fresh sync required)

  • Manual end-to-end verification by @Siddharth2207 before merging

  • Manual end-to-end verification by @hardyjosh before merging

  • Manual end-to-end verification by @findolor before merging

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores

    • Rebranded project from "Rain Orderbook" to "Raindex," updating package names (@rainlanguage/raindex), Rust crate identifiers, CI/CD workflows, configuration files, and build processes throughout the repository.
  • Documentation

    • Updated developer guides, architecture documentation, setup instructions, and implementation guidelines to reflect the project rebranding.

thedavidmeister and others added 8 commits March 25, 2026 23:33
Rename all Solidity source contracts, libraries, and scripts from
OrderBook naming to Raindex naming. File renames and content updates
for src/abstract/, src/concrete/, src/lib/, src/generated/, and
script/.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Content and file renames for all test utility, abstract, concrete,
and lib test files.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Update root Cargo.toml, crate Cargo.toml files, and all Rust source
files. Rename crate names from rain_orderbook_* to raindex_*. Update
settings crate types (OrderbookCfg -> RaindexCfg, etc.), YAML keys,
module declarations, and file names.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Rename YAML config keys (orderbooks -> raindexes) and bump spec
version from 5 to 6. Fix remaining Orderbook type references in
js_api yaml module and settings crate.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Update import paths, YAML key strings, and constant prefixes that
were missed in the initial Rust rename pass.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Update foundry.toml, flake.nix, .gitignore, .devcontainer.json,
package.json, README.md, AGENTS.md, copilot instructions, and
GitHub workflow files.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Rename directory, update package.json names and URLs, update build
scripts (wasm crate name, wbg json), ARCHITECTURE.md, README.md,
test files, and ui-components dependency reference.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Rename Svelte components (DropdownOrderbooksFilter ->
DropdownRaindexesFilter, ListViewOrderbookFilters ->
ListViewRaindexFilters), update imports, types, and variable names.
Update ui-components and raindex package dependencies and URLs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Mar 27, 2026

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

This pull request performs a comprehensive project rebrand from "Rain Orderbook" to "Raindex" across the entire codebase. Changes include renaming Rust crate dependencies, updating GitHub Actions workflows, modifying CLI command wiring, adjusting documentation, and updating configuration files to reflect the new project identity throughout.

Changes

Cohort / File(s) Summary
Project Branding & Metadata
.devcontainer.json, README.md, AGENTS.md
Updated project name and package references from "Rain Orderbook" / "orderbook" to "Raindex" / "raindex" in development container config, README documentation, and agent guidance.
Rust Workspace Configuration
Cargo.toml
Renamed workspace dependency keys from rain_orderbook_* to raindex_* (10 dependencies including bindings, common, cli, subgraph\_client, app\_settings, quote, test\_fixtures, math, js\_api, rest\_api).
Rust Crates: Bindings
crates/bindings/Cargo.toml, crates/bindings/src/lib.rs, crates/bindings/ARCHITECTURE.md
Renamed package from rain_orderbook_bindings to raindex_bindings, updated generated Solidity binding module from OrderBook to Raindex, and renamed event\_topics constant from ORDERBOOK_EVENT_TOPICS to RAINDEX_EVENT_TOPICS.
Rust Crates: CLI
crates/cli/Cargo.toml, crates/cli/src/commands/chart.rs, crates/cli/src/commands/local_db/.../*
Renamed CLI package from rain_orderbook_cli to raindex_cli, updated all workspace dependency references from rain_orderbook_* to raindex_*, and rewired chart and local\_db command internals to use raindex terminology (imports, identifiers, field names, dotrain config templates).
CLI Documentation
crates/cli/src/commands/local_db/README.md
Updated pipeline description, package references, and terminology from "Rain Orderbook" / "orderbooks" to "Raindex" / "raindexes".
GitHub Actions Workflows
.github/workflows/npm-package-release.yml, .github/workflows/rainix.yaml, .github/workflows/test-ui-components.yaml, .github/workflows/test-webapp.yaml, .github/workflows/vercel-*.yaml
Updated workflow targets from packages/orderbook to packages/raindex, changed npm package from @rainlanguage/orderbook to @rainlanguage/raindex, updated build/test tasks from ob-* to raindex-*, and changed npm\_blacklist action working directories.
Subgraph & Deployment Workflows
.github/workflows/deploy-subgraph.yaml, .github/workflows/manual-sol-artifacts.yaml
Changed subgraph name from ob4 to raindex and simplified deployment key secret assignment logic.
Build Artifacts & Ignore Rules
.gas-snapshot, .gitignore
Replaced gas snapshot entries from OrderBook/GenericPoolOrderBook test cases with Raindex-equivalent test cases; updated .gitignore patterns from packages/orderbook/* to packages/raindex/*.
Documentation & AI Guides
.github/copilot-instructions.md, ai_commands/feature-implementation-plan.md, ai_commands/generate-pr-content.md, ai_commands/refresh-architecture.md, ai_commands/sdk-documentation-update.md
Updated documentation and AI assistant guidance to reference packages/raindex, build commands (build:raindex), npm packages (@rainlanguage/raindex), and scope keywords throughout.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Poem

🐰 From orderbook's chapters to raindex's dawn,
The garden is renamed, the old order withdrawn.
With workflows and crates all polished anew,
Our project takes flight with a raindex brew! 🌧️

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 55.56% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Rename OrderBook to Raindex' directly and clearly describes the primary change: a comprehensive rename of the OrderBook terminology to Raindex across the repository.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch rename-orderbook-to-raindex

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

thedavidmeister and others added 21 commits March 30, 2026 17:48
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add vm.assume guard to LibOrder.testHashNotEqual (A10-1)
- Fix stale NatSpec referencing onlyValidTask in RaindexV6FlashBorrower (CR-3)
- Mark already-fixed items (CR-2, A14-3) in triage
- Create GitHub issues for 17 remaining findings (#2533-#2539)
- Zero PENDING items remain in triage

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
All findings triaged — remaining items tracked in GitHub issues
(#2533-#2539) with claude-audit label.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
… crates

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
RaindexV6 confirmed at 23,437 bytes — identical to pre-rename.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The rainlang word "orderbook" is now "raindex" — this is a breaking
change for existing rainlang expressions.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Fix "raindexs" → "raindexes" spelling in test descriptions
- Rename OB_NPM_PACKAGE → RAINDEX_NPM_PACKAGE in CI
- Rename ob-addr CLI alias → raindex-addr
- Update ob-yaml.md URLs → raindex-yaml.md
- Fix "order book" → "raindex" in NatSpec comments

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- ob-rs-test → raindex-rs-test
- ob-ui-components-prelude → raindex-ui-components-prelude
- rainix-ob-cli-artifact → raindex-cli-artifact

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
thedavidmeister and others added 6 commits April 2, 2026 11:03
- raindex_address short flag set to -a to avoid clash with -r (rpcs)
- Fix remaining db_schema_version assertions in CLI tests

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Zoltu factory produces deterministic addresses regardless of deployer
key, so there's no reason to use a dev key on non-main branches.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…aindex

# Conflicts:
#	.github/workflows/build-cli-binary.yaml
#	.github/workflows/npm-package-release.yml
#	Cargo.toml
#	README.md
#	crates/common/src/raindex_client/order_quotes.rs
#	crates/common/src/take_orders/candidates.rs
#	crates/js_api/src/registry.rs
#	crates/quote/ARCHITECTURE.md
#	crates/quote/src/order_quotes.rs
#	crates/quote/src/rpc.rs
#	package-lock.json
#	packages/orderbook/test/js_api/dotrainRainlang.test.ts
#	packages/raindex/package.json
#	packages/raindex/test/js_api/dotrainRainlang.test.ts
#	packages/raindex/test/js_api/dotrainRegistry.test.ts
#	packages/raindex/typedoc.json
#	packages/ui-components/package.json
#	packages/ui-components/src/__tests__/loadRainlangUrl.test.ts
#	packages/ui-components/src/__tests__/registry.test.ts
#	packages/ui-components/src/lib/providers/dotrainRainlang/DotrainRainlangProvider.svelte
#	packages/ui-components/src/lib/providers/dotrainRainlang/context.ts
#	packages/ui-components/src/lib/services/loadRainlangUrl.ts
#	packages/webapp/src/lib/constants.ts
#	packages/webapp/src/routes/+layout.ts
#	packages/webapp/src/routes/deploy/+layout.ts
#	packages/webapp/src/routes/deploy/[orderName]/+layout.ts
#	packages/webapp/src/routes/deploy/[orderName]/[deploymentKey]/+layout.ts
#	packages/webapp/src/routes/deploy/[orderName]/[deploymentKey]/fullDeployment.test.ts
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@README.md`:
- Around line 54-56: The fenced code block containing the command "cd
packages/webapp && nix develop -c npm run dev" is missing a language tag and
triggers markdownlint MD040; update that fenced block to include a language
identifier (e.g., bash) so it becomes ```bash at the opening fence, keeping the
same command content and closing fence unchanged.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: bb8fa837-0a47-412c-9827-52b6bb5bd8de

📥 Commits

Reviewing files that changed from the base of the PR and between 14e1a2a and aad9f12.

📒 Files selected for processing (5)
  • .github/workflows/npm-package-release.yml
  • .github/workflows/vercel-preview-pr-target.yaml
  • .github/workflows/vercel-preview.yaml
  • Cargo.toml
  • README.md
✅ Files skipped from review due to trivial changes (2)
  • Cargo.toml
  • .github/workflows/npm-package-release.yml
🚧 Files skipped from review as they are similar to previous changes (2)
  • .github/workflows/vercel-preview-pr-target.yaml
  • .github/workflows/vercel-preview.yaml

Comment thread README.md
thedavidmeister and others added 7 commits April 28, 2026 20:51
Removing self from the outputs lambda to satisfy deadnix broke the
flake — nix always passes self, so the function must accept it. Use
the rainix pattern (omit self, add ...) which both lets nix pass self
and keeps deadnix quiet about unused params.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Six leftover references to the old crate paths and types that
caused cargo compilation failures across rs-static, wasm, and js-bindings:

- crates/quote/src/injector.rs: rain_orderbook_bindings -> raindex_bindings
- crates/common/src/take_orders/mod.rs: rain_orderbook_quote -> raindex_quote
- crates/common/src/raindex_client/orders.rs: rain_orderbook_quote -> raindex_quote
- crates/common/src/raindex_client/take_orders/single.rs: rain_orderbook_bindings -> raindex_bindings, rain_orderbook_subgraph_client -> raindex_subgraph_client
- crates/subgraph/src/multi_raindex_client.rs: OrderbookSubgraphClientError -> RaindexSubgraphClientError, MultiOrderbookSubgraphClient -> MultiRaindexSubgraphClient

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…ingle.rs

Two more leftover identifier references in
crates/common/src/raindex_client/take_orders/single.rs:652-653 that
caused raindex-rs-test and rainix-rs-static to fail compiling
raindex_common's test target.

- OrderbookIdentifier -> RaindexIdentifier
- CHAIN_ID_1_ORDERBOOK_ADDRESS -> CHAIN_ID_1_RAINDEX_ADDRESS

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…inherits_signed_context_from_quote

The test mocks a subgraph response in
crates/common/src/raindex_client/take_orders/single.rs but three
embedded JSON keys still used the old "orderbook" field name. The
post-rename subgraph schema's RaindexOrder type expects "raindex",
so cynic's deserialiser failed with "missing field `raindex`".

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
When fetch_manifests fails as a batch (e.g. unsupported db-schema-version
in the served manifest) the runner used to synthesize a single
TargetFailure with chain_id=0 and Address::ZERO, so the UI rendered
"raindex 0x0000…0000 failed at ManifestFetch: …" for every chain. Use
the chain's first configured raindex (chain_id + address + key) so the
UI shows real identity. When settings has no raindexes configured at
all, surface that as the cause directly ("no raindexes configured: …")
instead of pretending a zero-address raindex exists.

Drop prettier and prettier-plugin-* from root package.json — rainix's
prettier-bundle (PR #120) supplies them via the dev shell, and the
no-consumer-prettier pre-commit hook now blocks commits if consumers
declare them. Reformat the file to 2-space indent applied by the
bundle's prettierrc.

Extends manifest_fetch_failure_leaves_state_unloaded to pin the new
identity (chain_id == 42161, raindex_address == RAINDEX_A,
raindex_key == "raindex-a").

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
PR #120 in rainix replaces consumer-side prettier with a curated bundle
applied via the rainix pre-commit hook. Per its consumer-impact note,
downstream repos must drop prettier from package.json (already done for
the root), drop prettier-plugin-* from package.json, AND drop any
.prettierrc / prettier.config.* files.

Removes:
- workspace `format`, `format-check`, and the `prettier --list-different`
  portion of `lint` scripts in packages/{webapp,ui-components,raindex}
- packages/{webapp,ui-components,raindex}/.prettierrc files

Lint scripts now run eslint only. Format enforcement happens via the
rainix pre-commit hook.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@findolor
Copy link
Copy Markdown
Collaborator

findolor commented May 5, 2026

i've updated the registry and manually tested out the preview url and webapp works without issues.

…aindex

# Conflicts:
#	crates/cli/src/subgraph.rs
#	crates/common/src/local_db/query/fetch_orders/mod.rs
#	crates/common/src/raindex_client/local_db/mod.rs
#	crates/common/src/raindex_client/local_db/pipeline/runner/environment.rs
#	crates/common/src/raindex_client/local_db/pipeline/runner/scheduler/native.rs
#	crates/common/src/raindex_client/local_db/pipeline/status/native.rs
#	crates/common/src/raindex_client/local_db/pipeline/status/wasm.rs
#	crates/common/src/raindex_client/local_db/query/fetch_orders.rs
#	crates/common/src/raindex_client/orders.rs
#	crates/subgraph/src/multi_raindex_client.rs
#	crates/subgraph/src/raindex_client/order.rs
#	crates/subgraph/src/types/common.rs
#	package-lock.json
#	packages/orderbook/package.json
#	packages/ui-components/package.json
…de-by-owner code

Resolves leaks from main's #2497 (trade-by-hash) and #2499 (get_trades_for_owner)
PRs that landed during the merge. Renames cover SQL clause names, struct field
accesses (raindex_addresses, raindex_in), test fixture YAML keys (raindexes:,
arbitrum-raindex), snapshot field names (raindexes, raindex_count, raindex_key),
GraphQL filter strings (raindexIn), and the CHAIN_ID_1_RAINDEX_ADDRESS test
constant references inside trades/mod.rs.
…call

Three CI compile failures from the previous merge:
- crates/common/.../status/wasm.rs: test fns and ClientStatusBus call sites
  still referenced ob_id; renamed to raindex_id alongside the existing
  with_raindex_id constructor
- crates/common/.../trades/mod.rs:271: get_trade_detail was calling
  get_raindex_client (returns ClientRef, no Result) when it needs the
  subgraph client; switched to get_raindex_subgraph_client
- flake.nix test-js-bindings: dropped npm run format-check (script was
  removed earlier in the no-consumer-prettier migration)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants