Skip to content

Commit

Permalink
Comment out commitment calc temporary
Browse files Browse the repository at this point in the history
  • Loading branch information
perekopskiy committed Oct 13, 2023
1 parent 8d38a3b commit a046301
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions core/lib/zksync_core/src/state_keeper/io/seal_logic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,13 @@ impl UpdatesManager {

let initial_bootloader_contents =
finished_batch.final_bootloader_memory.unwrap_or_default();
let full_bootloader_memory = expand_bootloader_contents(&initial_bootloader_contents);
let bootloader_initial_content_commitment =
initial_heap_content_commitment_fixed(&full_bootloader_memory);

let events_queue_commitment = events_queue_commitment_fixed(&Vec::new()); // TODO: put actual events queue.
// let full_bootloader_memory = expand_bootloader_contents(&initial_bootloader_contents);
// let bootloader_initial_content_commitment =
// initial_heap_content_commitment_fixed(&full_bootloader_memory);
//
// let events_queue_commitment = events_queue_commitment_fixed(&Vec::new()); // TODO: put actual events queue.
let bootloader_initial_content_commitment = H256::zero();
let events_queue_commitment = H256::zero();

let l1_batch = L1BatchHeader {
number: l1_batch_env.number,
Expand Down

0 comments on commit a046301

Please sign in to comment.