Skip to content

Commit

Permalink
feat: cache debug_dbGet responses
Browse files Browse the repository at this point in the history
  • Loading branch information
xJonathanLEI committed Aug 31, 2024
1 parent 7d41e71 commit 1088150
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion common/evm_block_ref.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ func ExtractEvmBlockReferenceFromRequest(r *JsonRpcRequest) (string, int64, erro
"arbtrace_replayTransaction",
"trace_replayTransaction",
"debug_traceTransaction",
"trace_transaction":
"trace_transaction",
"debug_dbGet":
// For certain data it is safe to keep the data in cache even after reorg,
// because if client explcitly querying such data (e.g. a specific tx hash receipt)
// they know it might be reorged from a separate process.
Expand Down

0 comments on commit 1088150

Please sign in to comment.