Skip to content

Commit

Permalink
Merge pull request #2347 from eqlabs/t00ts/starknet_getBlockWithReceipts
Browse files Browse the repository at this point in the history
feat(rpc): restore `starknet_getBlockWithReceipts` in v08 routes
  • Loading branch information
t00ts authored Oct 31, 2024
2 parents a008702 + 23b75a6 commit 29f93d0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion crates/rpc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,6 @@ mod tests {
#[case::root_pathfinder("/", "pathfinder_rpc_api.json", &["pathfinder_version", "pathfinder_getTransactionStatus"])]

#[case::v0_8_api ("/rpc/v0_8", "v08/starknet_api_openrpc.json", &[
"starknet_getBlockWithReceipts",
"starknet_getTransactionReceipt",
])]
#[case::v0_8_trace("/rpc/v0_8", "v08/starknet_trace_api_openrpc.json", &[])]
Expand Down
1 change: 1 addition & 0 deletions crates/rpc/src/v08.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ pub fn register_routes() -> RpcRouterBuilder {
.register("starknet_getTransactionByBlockIdAndIndex", crate::method::get_transaction_by_block_id_and_index)
.register("starknet_getTransactionByHash", crate::method::get_transaction_by_hash)
.register("starknet_getTransactionStatus", crate::method::get_transaction_status)
.register("starknet_getBlockWithReceipts", crate::method::get_block_with_receipts)
.register("starknet_simulateTransactions", crate::method::simulate_transactions)
.register("starknet_subscribeNewHeads", SubscribeNewHeads)
.register("starknet_subscribePendingTransactions", SubscribePendingTransactions)
Expand Down

0 comments on commit 29f93d0

Please sign in to comment.