diff --git a/src/lib/traceCall.js b/src/lib/traceCall.js index 66aba8639..e5f7a397e 100644 --- a/src/lib/traceCall.js +++ b/src/lib/traceCall.js @@ -186,6 +186,10 @@ export function detect(ethRpc: EthRpc) : Promise { if (err.code === -32601) { return (tx) => new CommonCallTracer(tx); } + // if eth_traceCall works, but wrong params + if (err.code === -32602) { + return (tx) => new ClassicGethTracer(tx); + } throw err; }); } else if (error.code === -32602) {