Open llllvvuu opened 1 year ago
hmmm, wondering—does the new cast call --trace --debug
work here?
It could work, yeah. Looks like --trace
takes a block height, technically replaying a tx depends on not only the block height but also the tx's index within the block. Also syntactic sugar for replaying a txhash would be very dank although could be tricky to hook up the source map
Would the expected command look like: cast call --trace --debug --rpc-url <RPC_URL> <TX_HASH>
?
Component
Cast
Describe the feature you would like
Like
forge debug
, but instead of running as a script can run against a live contract with live state. Similar to the Truffle debuggerAdditional context
No response