Skip to content

Commit 0ad680b

Browse files
prestwichclaude
andcommitted
test: add integration tests for ETH RPC endpoints
Add 23 integration tests covering all endpoint categories: simple queries, block/transaction lookups, account state, logs, and error cases. Tests exercise the router through the axum service layer using tower's oneshot(). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 6ce5a5f commit 0ad680b

2 files changed

Lines changed: 590 additions & 0 deletions

File tree

crates/rpc-storage/Cargo.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,15 @@ serde.workspace = true
2727

2828
[dev-dependencies]
2929
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
30+
tokio-util = "0.7"
31+
signet-cold = { workspace = true, features = ["test-utils"] }
32+
signet-hot = { workspace = true, features = ["test-utils"] }
33+
signet-storage.workspace = true
34+
signet-storage-types.workspace = true
35+
signet-constants.workspace = true
36+
alloy.workspace = true
37+
serde_json.workspace = true
38+
axum = "0.8"
39+
tower = { version = "0.5", features = ["util"] }
40+
http = "1"
41+
trevm.workspace = true

0 commit comments

Comments
 (0)