Skip to content

Commit ecf69e0

Browse files
authored
refactor: remove RPC in favor of node-components (#102)
1 parent 11afbed commit ecf69e0

File tree

24 files changed

+8
-3973
lines changed

24 files changed

+8
-3973
lines changed

Cargo.toml

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ signet-constants = { version = "0.8.0", path = "crates/constants" }
3939
signet-evm = { version = "0.8.0", path = "crates/evm" }
4040
signet-extract = { version = "0.8.0", path = "crates/extract" }
4141
signet-node = { version = "0.8.0", path = "crates/node" }
42-
signet-rpc = { version = "0.8.0", path = "crates/rpc" }
4342
signet-sim = { version = "0.8.0", path = "crates/sim" }
4443
signet-types = { version = "0.8.0", path = "crates/types" }
4544
signet-tx-cache = { version = "0.8.0", path = "crates/tx-cache" }
@@ -62,25 +61,7 @@ alloy-contract = { version = "1.0.19", features = ["pubsub"] }
6261

6362
# Reth
6463
reth = { git = "https://github.com/paradigmxyz/reth", tag = "v1.5.1" }
65-
reth-ethereum = { git = "https://github.com/paradigmxyz/reth", tag = "v1.5.1" }
66-
reth-chainspec = { git = "https://github.com/paradigmxyz/reth", tag = "v1.5.1" }
67-
reth-db = { git = "https://github.com/paradigmxyz/reth", tag = "v1.5.1" }
68-
reth-db-common = { git = "https://github.com/paradigmxyz/reth", tag = "v1.5.1" }
69-
reth-eth-wire-types = { git = "https://github.com/paradigmxyz/reth", tag = "v1.5.1" }
70-
reth-evm-ethereum = { git = "https://github.com/paradigmxyz/reth", tag = "v1.5.1" }
7164
reth-exex = { git = "https://github.com/paradigmxyz/reth", tag = "v1.5.1" }
72-
reth-exex-test-utils = { git = "https://github.com/paradigmxyz/reth", tag = "v1.5.1" }
73-
reth-network-api = { git = "https://github.com/paradigmxyz/reth", tag = "v1.5.1" }
74-
reth-network-peers = { git = "https://github.com/paradigmxyz/reth", tag = "v1.5.1" }
75-
reth-node-api = { git = "https://github.com/paradigmxyz/reth", tag = "v1.5.1" }
76-
reth-node-ethereum = { git = "https://github.com/paradigmxyz/reth", tag = "v1.5.1" }
77-
reth-prune-types = { git = "https://github.com/paradigmxyz/reth", tag = "v1.5.1" }
78-
reth-rpc-eth-api = { git = "https://github.com/paradigmxyz/reth", tag = "v1.5.1" }
79-
reth-transaction-pool = { git = "https://github.com/paradigmxyz/reth", tag = "v1.5.1" }
80-
reth-trie-db = { git = "https://github.com/paradigmxyz/reth", tag = "v1.5.1" }
81-
82-
# Foundry periphery
83-
foundry-blob-explorers = "0.17"
8465

8566
# Async
8667
tokio = { version = "1.43.0", features = ["macros"] }
@@ -89,28 +70,15 @@ async-trait = "0.1.87"
8970
# Pinned for compatibility with reth
9071
parking_lot = "0.12"
9172

92-
# Rpc
93-
jsonrpsee = "0.24.9"
94-
jsonrpsee-core = "0.24"
95-
jsonrpsee-http-client = "0.24"
96-
jsonrpsee-types = "0.24"
97-
9873
# Misc
99-
clap = "4"
10074
eyre = "0.6.12"
10175
tracing = "0.1.41"
10276
tracing-subscriber = "0.3.19"
10377
thiserror = "2.0.12"
10478
serde = { version = "1.0.217", features = ["derive"] }
10579
serde_json = "1.0.137"
106-
openssl = { version = "0.10", features = ["vendored"] }
10780
reqwest = "0.12.9"
108-
url = "2.5.4"
109-
proptest = "1.6.0"
11081
chrono = "0.4.38"
111-
hex = { package = "const-hex", version = "1.10", default-features = false, features = [
112-
"alloc",
113-
] }
11482
uuid = "1.16.0"
11583

11684
# Test Utils

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ See the [Signet docs] for more info.
3333
revm inspector for detecting orders, and Signet's block-execution logic.
3434
- **signet-bundle** - Types and utilities for simulating bundles of Signet
3535
transactions, and determining what fills would be required to include them.
36-
- **signet-rpc** - An Ethereum JSON-RPC Server for Signet nodes. Makes heavy
37-
use of reth internals.
36+
- **signet-test-utils** - Utilities for testing Signet libraries and
37+
applications.
3838

3939
### Contributing to the SDK
4040

crates/evm/src/driver.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -488,8 +488,11 @@ impl<'a, 'b, C: Extractable> SignetDriver<'a, 'b, C> {
488488
Db: Database + DatabaseCommit,
489489
Insp: Inspector<Ctx<Db>>,
490490
{
491-
while !self.to_process.is_empty() {
492-
let tx = self.to_process.pop_front().expect("checked");
491+
while let Some(tx) = self.to_process.pop_front() {
492+
if tx.is_eip4844() {
493+
warn!("EIP-4844 transactions are not allowed in Signet blocks");
494+
continue;
495+
}
493496
trevm = self.execute_transaction(trevm, tx)?;
494497
}
495498

crates/rpc/Cargo.toml

Lines changed: 0 additions & 42 deletions
This file was deleted.

crates/rpc/README.md

Lines changed: 0 additions & 51 deletions
This file was deleted.

0 commit comments

Comments
 (0)