foundry icon indicating copy to clipboard operation
foundry copied to clipboard

feat(`anvil`): add support for JS tracer in Anvil

Open mattsse opened this issue 1 year ago • 5 comments

Component

Anvil

Describe the feature you would like

with new inspector crate we can now add JS tracing

reference impl

https://github.com/paradigmxyz/reth/blob/6430731fff06bfde15318667240d5738505fd6f8/crates/rpc/rpc/src/debug.rs#L551-L551

Note: because JS needs to access the DB we need to spawn a task that handles various db requests:

https://github.com/paradigmxyz/reth/blob/6430731fff06bfde15318667240d5738505fd6f8/crates/rpc/rpc/src/debug.rs#L645-L645

Additional context

No response

mattsse avatar Jan 11 '24 17:01 mattsse