Skip to content

Commit

Permalink
Support eth_blockNumber (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelsproul authored May 26, 2023
1 parent dcfb666 commit 865d9f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ async fn process_client_request(
| "eth_getBlockByHash"
| "eth_getLogs"
| "eth_call"
| "eth_blockNumber"
| ENGINE_GET_PAYLOAD_BODIES_BY_HASH_V1
| ENGINE_GET_PAYLOAD_BODIES_BY_RANGE_V1 => multiplexer.proxy_directly(request).await,
ENGINE_GET_PAYLOAD_V1 | ENGINE_GET_PAYLOAD_V2 => {
Expand Down Expand Up @@ -160,6 +161,7 @@ async fn handle_controller_json_rpc(
| "eth_getBlockByHash"
| "eth_getLogs"
| "eth_call"
| "eth_blockNumber"
| ENGINE_GET_PAYLOAD_BODIES_BY_HASH_V1
| ENGINE_GET_PAYLOAD_BODIES_BY_RANGE_V1 => multiplexer.proxy_directly(request).await,
ENGINE_GET_PAYLOAD_V1 | ENGINE_GET_PAYLOAD_V2 => {
Expand Down

0 comments on commit 865d9f0

Please sign in to comment.