diff --git a/eth/rpc/backend/tx_info.go b/eth/rpc/backend/tx_info.go index f9817448a..ed0d45fee 100644 --- a/eth/rpc/backend/tx_info.go +++ b/eth/rpc/backend/tx_info.go @@ -167,6 +167,9 @@ func (r *TransactionReceipt) MarshalJSON() ([]byte, error) { if r.EffectiveGasPrice != nil { output["effectiveGasPrice"] = r.EffectiveGasPrice } + // delete deprecated (pre Byzantium) key which is always set to 0x and fails parsing within hardhat + delete(output, "root") + return json.Marshal(output) }