From d16d5a1f856dfd4a5fc08f6229683f214fcbe1c5 Mon Sep 17 00:00:00 2001 From: supertestnet <58400631+supertestnet@users.noreply.github.com> Date: Sun, 10 Dec 2023 10:47:08 -0600 Subject: [PATCH] Update 8bit_cpu_64_cycles.js --- scripts/view/8bit_cpu_64_cycles.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/view/8bit_cpu_64_cycles.js b/scripts/view/8bit_cpu_64_cycles.js index 33f3978..96db884 100644 --- a/scripts/view/8bit_cpu_64_cycles.js +++ b/scripts/view/8bit_cpu_64_cycles.js @@ -95,7 +95,7 @@ if ($('.cpu_8bit_64_cycles_program')) { preimage_positions = incremented; console.log( "incremented preimage positions:", preimage_positions ); // var intended_output_preimages = [0,0,0,1,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]; - var intended_output_preimages_prep = prompt( `Enter the contents of the ram bytes you want to commit to as output after your program runs (that is, these bytes: ${output_bytes_to_reveal}). Use this format to commit, for example, to computing the following contents for bytes 0 and 1: {0: [1,1,1,1,0,0,0,0], 1: [0,0,0,0,0,0,0,0]}` ); + var intended_output_preimages_prep = prompt( `Enter the contents of the ram bytes you want to commit to as output after your program runs (that is, these bytes: ${output_bytes_to_reveal}). Use this format to commit, for example, to computing the following contents for bytes 0 and 1: {"0": [1,1,1,1,0,0,0,0], "1": [0,0,0,0,0,0,0,0]}` ); var intended_output_preimages = []; var i; for ( i=0; i<35; i++ ) intended_output_preimages.push( 0 ); var nums = [];