This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
Error "c.header.cliqueSigner
is not a function" when debugging on a forked chain
#4359
Labels
I'm trying to debug a transaction on Goerli by forking with Ganache and debugging there. However, on recent versions of Ganache (7.8.0 and 7.7.0) the
debug_traceTransaction
call returns an error. This error does not occur on Ganache 7.6.0. It also does not seem to occur when not using forking.Reproduction steps:
-x
, although that shouldn't be relevant here) to debug the following transaction:0x6a86b051ad13bcf8a4ebfc33f6ccdacced818bd2de3149e7566e9f55cc0fab64
If you do this, you get the following error:
(This is on 7.8.0; with Ganache 7.7.0, it's called
t.header.cliqueSigner
instead. And, as mentioned, with 7.6.0, no error occurs.)Now this error is of course coming from
adapter.js
, but that's because it got an error response from Ganache on thedebug_traceTransaction
call. Specifically, with 7.8.0, the response looks like this:So, seems like a Ganache bug!
Other notes: I initially encountered this error when manually forking via Infura, because I forgot that these days you can just do
ganache -f goerli
. But on trying the latter, the error still occurred.The text was updated successfully, but these errors were encountered: