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

feat(core,providers): add IntoCallRequest interface and use it in provider function arguments #76

Merged
merged 3 commits into from
Feb 20, 2024

Conversation

ArtificialPB
Copy link
Member

@ArtificialPB ArtificialPB commented Feb 17, 2024

Description

Introduces the IntoCallRequest interface, and implements it for Transaction/CallRequest/ReadContractCall types. The PR also replaces the CallRequest argument types in Provider with the new interface.

This change makes it possible to e.g. trace mempool transactions without manually converting it to CallRequest or to combine contract calls with transactions in the newly added eth_callMany/debug_traceCallMany RPC calls.

Solution

@ArtificialPB
Copy link
Member Author

ArtificialPB commented Feb 17, 2024

Base automatically changed from feat/call-many to master February 19, 2024 11:45
@ArtificialPB ArtificialPB merged commit 24f29d0 into master Feb 20, 2024
1 check passed
@ArtificialPB ArtificialPB deleted the feat/into-call branch February 20, 2024 20:12
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.

1 participant