Skip to content

feat: support eth_GetReceiptsByHash (#167)#72

Merged
hominlee-wemade merged 3 commits intodevfrom
feat/support-eth-get-receipts
Apr 8, 2026
Merged

feat: support eth_GetReceiptsByHash (#167)#72
hominlee-wemade merged 3 commits intodevfrom
feat/support-eth-get-receipts

Conversation

@colinkim
Copy link
Copy Markdown
Contributor

@colinkim colinkim commented Apr 6, 2026

Summary

Backport of go-wbft PR #167.
This change implements the eth_GetReceiptsByHash RPC method in internal/ethapi, allowing users to retrieve all transaction receipts for a specific block identified by its hash.

Background

While users could previously retrieve receipts using block numbers, providing a hash-based retrieval method improves the developer experience and ensures consistency with standard Ethereum JSON-RPC capabilities.

Upstream References

Reference Description
wemixarchive/go-wbft#167 support eth_GetReceiptsByHash in WBFT engine

Changes

Add GetReceiptsByHash method: Implemented in internal/ethapi/api.go.

Notes

(cherry picked from commit 8d757e95822940375adc4f7af958d4a24c23869b)

(cherry picked from commit 8d757e95822940375adc4f7af958d4a24c23869b)
@colinkim colinkim self-assigned this Apr 6, 2026
@colinkim colinkim added the enhancement New feature or request label Apr 6, 2026
Copy link
Copy Markdown
Collaborator

@hominlee-wemade hominlee-wemade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Copy Markdown
Member

@0xmhha 0xmhha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GetReceiptsByHash function only doesn't have a comment.

Copy link
Copy Markdown
Member

@0xmhha 0xmhha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hominlee-wemade hominlee-wemade merged commit 8b89579 into dev Apr 8, 2026
3 checks passed
@hominlee-wemade hominlee-wemade changed the title Feature: support eth_GetReceiptsByHash (#167) feat: support eth_GetReceiptsByHash (#167) Apr 8, 2026
@hominlee-wemade hominlee-wemade deleted the feat/support-eth-get-receipts branch April 8, 2026 05:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants