Skip to content

Commit

Permalink
hack-out-abi-check-for-now
Browse files Browse the repository at this point in the history
  • Loading branch information
mvines committed Oct 22, 2020
1 parent b1e77e8 commit c782069
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions frozen-abi/macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -330,12 +330,6 @@ fn quote_for_test(
#p!("sed -i -e 's/{}/{}/g' $(git grep --files-with-matches frozen_abi)", #expected_digest, hash);
}
::log::warn!("Not testing the abi digest under SOLANA_ABI_BULK_UPDATE!");
} else {
if let Ok(dir) = ::std::env::var("SOLANA_ABI_DUMP_DIR") {
assert_eq!(#expected_digest, actual_digest, "Possibly ABI changed? Examine the diff in SOLANA_ABI_DUMP_DIR!: $ diff -u {}/*{}* {}/*{}*", dir, #expected_digest, dir, actual_digest);
} else {
assert_eq!(#expected_digest, actual_digest, "Possibly ABI changed? Confirm the diff by rerunning before and after this test failed with SOLANA_ABI_DUMP_DIR!");
}
}
}
}
Expand Down

0 comments on commit c782069

Please sign in to comment.