Summary
The EthTrace struct in src/rpc/methods/eth/trace/types.rs currently stores its error
field as Option<String>:
pub struct EthTrace {
// ...
pub error: Option<String>,
}
This leads to unnecessary heap allocations, string comparisons, and lacks strong typing.
Completion Criteria
Additional Links & Resources
Original PR: #6751
Comment Thread: #6751 (comment)
Summary
The
EthTracestruct insrc/rpc/methods/eth/trace/types.rscurrently stores itserrorfield as
Option<String>:This leads to unnecessary heap allocations, string comparisons, and lacks strong typing.
Completion Criteria
Additional Links & Resources
Original PR: #6751
Comment Thread: #6751 (comment)