mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
fix(rpc): serialize return data bytes without prefix (#3019)
This commit is contained in:
@ -42,6 +42,7 @@ pub struct BlockTraceResult {
|
|||||||
pub struct DefaultFrame {
|
pub struct DefaultFrame {
|
||||||
pub failed: bool,
|
pub failed: bool,
|
||||||
pub gas: u64,
|
pub gas: u64,
|
||||||
|
#[serde(serialize_with = "reth_primitives::serde_helper::serialize_hex_string_no_prefix")]
|
||||||
pub return_value: Bytes,
|
pub return_value: Bytes,
|
||||||
pub struct_logs: Vec<StructLog>,
|
pub struct_logs: Vec<StructLog>,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user