You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The output field of result is null, however BlockTrace returned by trace_call requires output field to be Bytes. After changing it to Option<Bytes>, this works as expected.
Version
2.0.10
Platform
MACOS
Description
Middleware.trace_call does not work with Nethermind at least on pending transactions.
The code results in:
Error tracing the transaction: invalid type: null, expected a string at line 1 column 14
When interacting with the node directly with
curl
, an example response looks like this:The
output
field ofresult
is null, howeverBlockTrace
returned by trace_call requires output field to beBytes
. After changing it toOption<Bytes>
, this works as expected.BlockTrace:
https://github.com/gakonst/ethers-rs/blob/90b87bd85be98caa8bb592b67f3f9acbc8a409cf/ethers-core/src/types/trace/mod.rs#L29C1-L45C2
Nethermind version:
The text was updated successfully, but these errors were encountered: