alloy icon indicating copy to clipboard operation
alloy copied to clipboard

[Feature] Examples of Provider mocking

Open 0xfourzerofour opened this issue 6 months ago • 0 comments

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 avatar Aug 14 '24 21:08 0xfourzerofour