Skip to content

refactor(node): split into config, sequencer, and full crates#428

Merged
kariy merged 5 commits intomainfrom
refactor-nodes
Feb 12, 2026
Merged

refactor(node): split into config, sequencer, and full crates#428
kariy merged 5 commits intomainfrom
refactor-nodes

Conversation

@kariy
Copy link
Member

@kariy kariy commented Feb 12, 2026

Split katana-node into three separate crates under crates/node/: katana-node-config for shared config types (db, rpc, metrics), katana-sequencer-node for the sequencer node, and katana-full-node for the full node. Shared configs are re-exported from each node crate so consumers access them through a single path. All downstream crates (cli, utils, rpc-server, tests/snos) updated accordingly. Replaces katana_rpc_server::cors::HeaderValue with http::HeaderValue in shared config to avoid coupling config to the RPC server implementation.

crates/node/
├── config/     → katana-node-config     (shared: db, rpc, metrics)
├── sequencer/  → katana-sequencer-node  (sequencer node)
└── full/       → katana-full-node       (full node)

🤖 Generated with Claude Code

kariy and others added 5 commits February 12, 2026 14:47
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@kariy kariy merged commit e4e7585 into main Feb 12, 2026
7 of 9 checks passed
@kariy kariy deleted the refactor-nodes branch February 12, 2026 22:59
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.

1 participant