Skip to content

Commit

Permalink
updated batch metadata with new fields
Browse files Browse the repository at this point in the history
  • Loading branch information
koloz193 committed Oct 18, 2023
1 parent 95648c0 commit 70700bc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions core/lib/zksync_core/src/genesis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ pub async fn ensure_genesis_state(
vec![],
base_system_contracts_hashes.bootloader,
base_system_contracts_hashes.default_aa,
vec![],
vec![],
H256::zero(),
H256::zero(),
);

save_genesis_l1_batch_metadata(
Expand Down Expand Up @@ -362,6 +366,7 @@ pub(crate) async fn save_genesis_l1_batch_metadata(
pass_through_data_hash: commitment_hash.pass_through_data,
events_queue_commitment: None,
bootloader_initial_content_commitment: None,
state_diffs_compressed: vec![],
};
storage
.blocks_dal()
Expand Down

0 comments on commit 70700bc

Please sign in to comment.