Skip to content

Commit

Permalink
fix(chisel): uint/int full word print (#9381)
Browse files Browse the repository at this point in the history
  • Loading branch information
grandizzy authored Nov 22, 2024
1 parent 1332b6d commit cf66dea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/chisel/src/executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use crate::prelude::{
};
use alloy_dyn_abi::{DynSolType, DynSolValue};
use alloy_json_abi::EventParam;
use alloy_primitives::{hex, Address, U256};
use alloy_primitives::{hex, Address, B256, U256};
use core::fmt::Debug;
use eyre::{Result, WrapErr};
use foundry_compilers::Artifact;
Expand Down Expand Up @@ -379,7 +379,7 @@ fn format_token(token: DynSolValue) -> String {
.collect::<String>()
)
.cyan(),
format!("{i:#x}").cyan(),
hex::encode_prefixed(B256::from(i)).cyan(),
i.cyan()
)
}
Expand All @@ -397,7 +397,7 @@ fn format_token(token: DynSolValue) -> String {
.collect::<String>()
)
.cyan(),
format!("{i:#x}").cyan(),
hex::encode_prefixed(B256::from(i)).cyan(),
i.cyan()
)
}
Expand Down

0 comments on commit cf66dea

Please sign in to comment.