Skip to content

Commit

Permalink
fixup: Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Xanewok committed Aug 16, 2024
1 parent 5a7cd18 commit c0c0d65
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/edr_napi/src/trace/debug.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@ use napi::{
};
use napi_derive::napi;

use crate::trace::{model::JumpType, return_data::ReturnData};

use super::{
message_trace::{CallMessageTrace, CreateMessageTrace, PrecompileMessageTrace},
solidity_stack_trace::{RevertErrorStackTraceEntry, SolidityStackTrace},
};
use crate::trace::{model::JumpType, return_data::ReturnData};

const MARGIN_SPACE: usize = 6;

Expand Down Expand Up @@ -153,7 +152,8 @@ fn print_create_trace(trace: &CreateMessageTrace, depth: u32, env: Env) -> napi:

if trace.exit.is_error() {
println!("{margin} error: {}", trace.exit.get_reason());
// The return data is the deployed-bytecode if there was no error, so we don't show it
// The return data is the deployed-bytecode if there was no error, so we don't
// show it
println!(
"{margin} returnData: {}",
hex::encode_prefixed(&*trace.return_data)
Expand Down

0 comments on commit c0c0d65

Please sign in to comment.