Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes committed Nov 9, 2023
1 parent 8f2a55c commit 6e3d88b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/cheatcodes/src/string.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ where
.chain(values)
.map(|s| parse_value(s.as_ref(), ty))
.collect::<Result<Vec<_>, _>>()
.map(|vec| DynSolValue::Tuple(vec).abi_encode()),
.map(|vec| DynSolValue::Array(vec).abi_encode()),
// return the empty encoded Bytes when values is empty or the first element is empty
_ => Ok("".abi_encode()),
}
Expand Down

0 comments on commit 6e3d88b

Please sign in to comment.