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

[Feature] Examples of Provider mocking #1148

Open
0xfourzerofour opened this issue Aug 14, 2024 · 0 comments
Open

[Feature] Examples of Provider mocking #1148

0xfourzerofour opened this issue Aug 14, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@0xfourzerofour
Copy link
Contributor

Component

provider, pubsub

Describe the feature you would like

The provider is pretty different to how it was implemented in ethers-rs, I was wondering if there are any plans to add mocking to the provider in an easy way. I have had a couple issues being able to mock it due to the Provider returning RpcWithBlock and EthCall structs and getting that to work with mockall.

Do you have any examples of this in the codebase or other paradigm codebases?

Additional context

No response

@0xfourzerofour 0xfourzerofour added the enhancement New feature or request label Aug 14, 2024
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

No branches or pull requests

1 participant