alloy icon indicating copy to clipboard operation
alloy copied to clipboard

Add a TraceRpc helper type for configuring the trace kind argument

Open mattsse opened this issue 8 months ago • 0 comments

          cc @mattsse my guess is we could also return a builder that's called `TraceRpcWithBlock` or similar? since we default to `["trace"]` most times?

Originally posted by @gakonst in https://github.com/alloy-rs/alloy/pull/818#discussion_r1624830808

similar to

https://github.com/alloy-rs/alloy/blob/2bff1dd43fb752c15f6179f2bfcebf4c3e0a227d/crates/provider/src/provider/with_block.rs#L164-L164

mattsse avatar Jun 03 '24 17:06 mattsse