0xPolygonHermez / cdk-erigon

Ethereum implementation on the efficiency frontier
GNU Lesser General Public License v3.0
32 stars 31 forks source link

Method Handler Crash causing JSON RPC Issue #1197

Closed praetoriansentry closed 4 days ago

praetoriansentry commented 1 week ago

I'm doing a call to debug_traceTransaction and it's failing with method handler crashed. That's probably a different issue, but it looks like cast doesn't like that the response includes both error and result

image

From the spec it does seem like this shouldn't happen.

Either the result member or error member MUST be included, but both members MUST NOT be included.

This is occurring with the one of the latest test images from @cffls jerrycgh/cdk-erigon:8b4732a73f23a27990320f014bbad64b67d70bb7

V-Staykov commented 1 week ago

Is the transaction on any network we can try querying as well, or do you have the transaction so we can reproduce it?

cffls commented 1 week ago

This should be fixed by https://github.com/0xPolygonHermez/cdk-erigon/pull/1201