cosmos / cosmos/evm

eth_getTransactionReceipt is slow

Open
#916 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
164
Forks
213
Avg merge
3d 58m
Merged PRs (30d)
12

Description

During catalyst runs on my mac M4 Pro, some queries take longer than 500ms. I glanced at the code and found that it makes redundant calls. We need to optimize this method

We could also support \`eth_getBlockReceipts\`

Contributor guide

Open the contributing guide

Research direction

Locate the Go implementation and entry point for eth_getTransactionReceipt, then reproduce the latency during the reported Catalyst runs on a Mac M4 Pro. Trace its calls to confirm which are redundant and benchmark the current behavior. The optimization target and whether eth_getBlockReceipts is part of this issue need clarification before defining done.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend-api-design, blockchain
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.