fix(rpc): make memSize optional (#2999)

This commit is contained in:
Matthias Seitz
2023-06-06 01:17:30 +02:00
committed by GitHub
parent df90caeb34
commit 088c388d13
3 changed files with 16 additions and 3 deletions

View File

@ -481,7 +481,7 @@ impl From<&CallTraceStep> for StructLog {
// Filled in `CallTraceArena::geth_trace` as a result of compounding all slot changes
return_data: None,
storage: None,
memory_size: step.memory_size as u64,
memory_size: Some(step.memory_size as u64),
}
}
}