alloy
alloy copied to clipboard
[Feature] Examples of Provider mocking
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