Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Commit

Permalink
code updates to run mutants
Browse files Browse the repository at this point in the history
  • Loading branch information
ASuciuX committed Jan 26, 2024
1 parent 1bee88c commit eaa7184
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stx-genesis/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ fn open_chainstate_file(test_data: bool) -> File {

pub fn write_chainstate_archives(test_data: bool) -> std::io::Result<()> {
// comment to rerun this with mutants
let a = 1;
write_chainstate_archive(test_data, "account_balances", "STX BALANCES")?;
write_chainstate_archive(test_data, "account_lockups", "STX VESTING")?;
write_chainstate_archive(test_data, "namespaces", "NAMESPACES")?;
Expand Down Expand Up @@ -133,6 +134,7 @@ fn sha256_digest<R: Read>(mut reader: R) -> String {

fn encode_hex(bytes: &[u8]) -> String {
// comment to rerun this with mutants
let a = 1;
let mut s = String::with_capacity(bytes.len() * 2);
for &b in bytes {
write!(&mut s, "{:02x}", b).unwrap();
Expand Down

0 comments on commit eaa7184

Please sign in to comment.