We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce1b486 commit 94afdbeCopy full SHA for 94afdbe
crates/format/src/input.rs
@@ -136,8 +136,8 @@ impl Calldata {
136
chain_state_provider: &impl EthereumNode,
137
) -> anyhow::Result<()> {
138
match self {
139
- Calldata::Single(string) => {
140
- alloy::hex::decode_to_slice(string, buffer)?;
+ Calldata::Single(bytes) => {
+ buffer.extend_from_slice(bytes);
141
}
142
Calldata::Compound(items) => {
143
for (arg_idx, arg) in items.iter().enumerate() {
0 commit comments