Function dummy_transaction_proof

Source
pub fn dummy_transaction_proof() -> Arc<TransactionSnarkProofStableV2>
Expand description

Value of Proof.transaction_dummy when we run dune runtest src/lib/staged_ledger -f The file was generated this way:

let dummy = Proof.transaction_dummy in

let buf = Bigstring.create (Proof.Stable.V2.bin_size_t dummy) in ignore (Proof.Stable.V2.bin_write_t buf ~pos:0 dummy : int) ; let bytes = Bigstring.to_bytes buf in

let explode s = List.init (String.length s) ~f:(fun i -> String.get s i) in

let s = (String.concat ~sep:“,” (List.map (explode (Bytes.to_string bytes)) ~f:(fun b -> string_of_int (Char.to_int b)))) in

Core.Printf.eprintf !“dummy proof= %{sexp: Proof.t}\n%!” dummy; Core.Printf.eprintf !“dummy proof= %s\n%!” s;