Skip to content

Commit

Permalink
registered trace_transaction & trace_block_transactions
Browse files Browse the repository at this point in the history
  • Loading branch information
vbar committed Feb 3, 2025
1 parent 978b1e7 commit 69a7f85
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 1 addition & 4 deletions crates/rpc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -978,10 +978,7 @@ mod tests {
#[case::v0_6_trace(
"/rpc/v0_6",
"v06/starknet_trace_api_openrpc.json",
&[
"starknet_traceTransaction",
"starknet_traceBlockTransactions",
],
&[],
Api::HttpOnly)]
// #[case::v0_6_trace_websocket("/ws/rpc/v0_6", "v06/starknet_trace_api_openrpc.json", &[], Api::WebsocketOnly)]
#[case::v0_6_write("/rpc/v0_6", "v06/starknet_write_api.json", &[], Api::HttpOnly)]
Expand Down
2 changes: 2 additions & 0 deletions crates/rpc/src/v06.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,7 @@ pub fn register_routes() -> RpcRouterBuilder {
.register("starknet_simulateTransactions", crate::method::simulate_transactions)
.register("starknet_specVersion", || "0.6.0")
.register("starknet_syncing", crate::method::syncing)
.register("starknet_traceBlockTransactions", crate::method::trace_block_transactions)
.register("starknet_traceTransaction", crate::method::trace_transaction)
.register("pathfinder_getProof", crate::pathfinder::methods::get_proof)
}

0 comments on commit 69a7f85

Please sign in to comment.