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
Would love to have this feature as well! Hope it gets to Anvil.
I would like to work on this
@1010adigupta great! lmk when you need pointers
Hi @1010adigupta, do you have any updates on this ticket or need help? We are happy to give pointers
Hey @zerosnacks, if this is still available for dev, I'd be happy to take it. I would appreciate any pointers to get started since the reth code linked in the issue has changed. Ty 🙏
Hi @EdwardJES sorry I had missed your tag! Assigned you
The updated links are:
https://github.com/paradigmxyz/reth/pull/6129
https://github.com/paradigmxyz/reth/blob/bb27f37cc703789eb41bb084892d44f770868e7d/crates/rpc/rpc/src/debug.rs#L400-L424