Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temp get_uncle fix #589

Merged
merged 3 commits into from
Apr 19, 2024
Merged

Temp get_uncle fix #589

merged 3 commits into from
Apr 19, 2024

Conversation

yash-atreya
Copy link
Member

Motivation

Passing the primitive type for the idx leads to the following error:

server returned an error response: error code -32602: invalid argument 1: json: cannot unmarshal non-string into Go value of type hexutil.Uint

in the anvil integration test: https://github.com/yash-atreya/foundry/blob/cfeffd5f5cd7c4225ddd3f35ab1c2618648200db/crates/anvil/tests/it/fork.rs#L852

Solution

Temp fix is to rollback to non-primitive type U64.

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@yash-atreya yash-atreya requested a review from DaniPopes April 19, 2024 23:34
@DaniPopes DaniPopes merged commit f1b4789 into alloy-rs:main Apr 19, 2024
18 checks passed
ben186 pushed a commit to ben186/alloy that referenced this pull request Jul 27, 2024
* possible fix

* temp-fix: rollback to U64

* fix: convert in fn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants