foundry
foundry copied to clipboard
feat(`anvil`): add support for JS tracer in Anvil
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