message: Test Checksum::to_hex()
diff: @@ -18,6 +18,7 @@ impl Checksum {
  Checksum(Sha256::digest(wasm).into())
  }
  + /// Creates a lowercase hex encoded copy of this checksum
  pub fn to_hex(&self) -> String {
  hex::encode(self.0)
  }
  @@ -63,4 +64,15 @@ mod test {
  ];
  assert_eq!(checksum.0, expected);
  }
  +
  + #[test]
  + fn to_hex_works() {
  + let wasm = vec![0x68, 0x69, 0x6a];
  + let checksum = Checksum::generate(&wasm);
  + // echo -n "hij" | sha256sum
  + assert_eq!(
  + checksum.to_hex(),
  + "722c8c993fd75a7627d69ed941344fe2a1423a3e75efd3e6778a142884227104"
  + );
  + }
  }
  