Skip to content

Commit

Permalink
Fix failing invariant test (#7067)
Browse files Browse the repository at this point in the history
  • Loading branch information
klkvr authored Feb 9, 2024
1 parent ff391b5 commit c41048c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/evm/fuzz/src/strategies/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,8 @@ pub fn collect_created_contracts(
if !setup_contracts.contains_key(address) {
if let (true, Some(code)) = (&account.is_touched(), &account.info.code) {
if !code.is_empty() {
if let Some((artifact, (abi, _))) = project_contracts.find_by_code(code.bytes())
if let Some((artifact, (abi, _))) =
project_contracts.find_by_code(&code.original_bytes())
{
if let Some(functions) =
artifact_filters.get_targeted_functions(artifact, abi)?
Expand Down

0 comments on commit c41048c

Please sign in to comment.