Skip to content

Commit fda5062

Browse files
prestwichclaude
andcommitted
refactor: rename signet-rpc-storage to signet-rpc
Reclaim the signet-rpc name now that the old reth-backed crate is deleted. Rename directory, package, and all import paths. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b920b1a commit fda5062

30 files changed

Lines changed: 12 additions & 13 deletions

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ signet-genesis = { version = "0.16.0-rc.7", path = "crates/genesis" }
4040
signet-node = { version = "0.16.0-rc.7", path = "crates/node" }
4141
signet-node-config = { version = "0.16.0-rc.7", path = "crates/node-config" }
4242
signet-node-tests = { version = "0.16.0-rc.7", path = "crates/node-tests" }
43-
signet-rpc-storage = { version = "0.16.0-rc.7", path = "crates/rpc-storage" }
43+
signet-rpc = { version = "0.16.0-rc.7", path = "crates/rpc" }
4444

4545
init4-bin-base = { version = "0.18.0-rc.8", features = ["alloy"] }
4646

crates/node/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ repository.workspace = true
1212
signet-block-processor.workspace = true
1313
signet-extract.workspace = true
1414
signet-node-config.workspace = true
15-
signet-rpc-storage.workspace = true
15+
signet-rpc.workspace = true
1616
signet-hot.workspace = true
1717
signet-storage.workspace = true
1818
signet-storage-types.workspace = true

crates/node/src/node.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use signet_blobber::ExtractableChainShim;
1313
use signet_block_processor::{AliasOracleFactory, SignetBlockProcessorV1};
1414
use signet_extract::Extractor;
1515
use signet_node_config::SignetNodeConfig;
16-
use signet_rpc_storage::{BlockTags, NewBlockNotification};
16+
use signet_rpc::{BlockTags, NewBlockNotification};
1717
use signet_storage::{HistoryRead, HotKv, HotKvRead, UnifiedStorage};
1818
use signet_types::{PairedHeights, constants::SignetSystemConstants};
1919
use std::{fmt, sync::Arc};

crates/node/src/rpc.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use crate::{
55
use reth::primitives::EthPrimitives;
66
use reth_node_api::{FullNodeComponents, NodeTypes};
77
use signet_block_processor::AliasOracleFactory;
8-
use signet_rpc_storage::{StorageRpcConfig, StorageRpcCtx};
8+
use signet_rpc::{StorageRpcConfig, StorageRpcCtx};
99
use signet_storage::HotKv;
1010
use signet_tx_cache::TxCache;
1111
use std::sync::Arc;
@@ -39,7 +39,7 @@ where
3939
StorageRpcConfig::default(),
4040
self.notif_tx.clone(),
4141
);
42-
let router = signet_rpc_storage::router::<H>().with_state(rpc_ctx);
42+
let router = signet_rpc::router::<H>().with_state(rpc_ctx);
4343
let serve_config: ServeConfig = self.config.merge_rpc_configs(&self.host)?.into();
4444
serve_config.serve(tasks, router).await
4545
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "signet-rpc-storage"
2+
name = "signet-rpc"
33
version.workspace = true
44
edition.workspace = true
55
rust-version.workspace = true
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
# signet-rpc-storage
1+
# signet-rpc
22

33
Ethereum JSON-RPC server backed by `signet-storage`'s unified storage backend.
44

55
This crate provides a standalone ETH RPC implementation that uses hot storage
66
for state queries and cold storage for block, transaction, and receipt data.
7-
Unlike `signet-rpc`, it does not depend on reth's `FullNodeComponents`.
87

98
## Supported Methods
109

File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ pub struct SyncStatus {
3535
/// # Example
3636
///
3737
/// ```
38-
/// use signet_rpc_storage::BlockTags;
38+
/// use signet_rpc::BlockTags;
3939
///
4040
/// let tags = BlockTags::new(100, 95, 90);
4141
/// assert_eq!(tags.latest(), 100);

0 commit comments

Comments
 (0)