Skip to content
This repository has been archived by the owner on Feb 18, 2025. It is now read-only.

ethclient, rpc/types: Fix block receipts params encoding #672

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

kandrianov and others added 2 commits January 23, 2025 10:59
Co-authored-by: Felix Lange <fjl@twurst.com>
…28358)

The String() version of BlockNumberOrHash uses decimal for all block numbers, including negative ones used to indicate labels. Switch to using BlockNumber.String() which encodes it correctly for use in the JSON-RPC API.
@chiphamskymavis chiphamskymavis added this to the v2.9.1 milestone Jan 23, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants