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

RpcWithBlock #674

Merged
merged 13 commits into from
May 13, 2024
Merged

RpcWithBlock #674

merged 13 commits into from
May 13, 2024

Conversation

prestwich
Copy link
Member

Motivation

followup to #645
closes #613

Solution

Generic builder struct for rpc calls that take optional block id parameters

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@prestwich prestwich added enhancement New feature or request debt Tech debt which needs to be addressed labels May 3, 2024
@prestwich prestwich self-assigned this May 3, 2024
@prestwich
Copy link
Member Author

I can't help but feel like the bounds could be simpler

@prestwich prestwich changed the title [WIP] RpcWithBlock RpcWithBlock May 9, 2024
@prestwich
Copy link
Member Author

I can't help but feel like the bounds could be simpler

I was right. they are now simpler. Unpin and Clone bounds are removed

@prestwich prestwich merged commit 3f6c744 into main May 13, 2024
24 checks passed
@prestwich prestwich deleted the prestwich/block-id-rpc branch May 13, 2024 13:11
ben186 pushed a commit to ben186/alloy that referenced this pull request Jul 27, 2024
* wip: RpcWithBlock

* wip

* wip

* feat: working maps

* lint: clippy and simplify

* feat: convert get_proof

* feat: convert create_access_list

* feat: convert trace_call

* refactor: finish converting RPC methods

* fix: remove unpin bounds

* nit: comment

* fix: remove clone bounds

* nit: reduce nesting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
debt Tech debt which needs to be addressed enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Change way we specify the BlockId in some methods of the provider
1 participant