From e5030144e49a5c060ab7986ecf04f99480b5013d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20M=C3=B6ller?= Date: Mon, 21 Oct 2024 20:21:39 +0200 Subject: [PATCH] Remove unimplemented TraceBlock call --- packages/evm/jsonrpc/service.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/packages/evm/jsonrpc/service.go b/packages/evm/jsonrpc/service.go index 112e3e5873..ade2fc8810 100644 --- a/packages/evm/jsonrpc/service.go +++ b/packages/evm/jsonrpc/service.go @@ -593,12 +593,6 @@ func (d *DebugService) GetRawBlock(blockNrOrHash rpc.BlockNumberOrHash) (interfa }) } -func (d *DebugService) TraceBlock(blockNrOrHash rpc.BlockNumberOrHash) (interface{}, error) { - return withMetrics(d.metrics, "debug_traceBlockByHash", func() (interface{}, error) { - return d.evmChain.GetRawBlock(blockNrOrHash) - }) -} - type EVMService struct { evmChain *EVMChain }