Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

Commit

Permalink
fix: update L2 block time interval to match production values (#968)
Browse files Browse the repository at this point in the history
  • Loading branch information
savasadar authored Mar 25, 2024
1 parent 83a8be8 commit dbd2a3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/zk-stack/concepts/blocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ introduced them mainly as a "compatibility feature" to accommodate various tools
that changes frequently. This allows these tools to provide feedback to users, confirming that their transaction has
been added.

As of now, an L2 block is created every 2 seconds (controlled by StateKeeper's config `miniblock_commit_deadline_ms`),
and it includes all the transactions received during that time period. This periodic creation of L2 blocks ensures that
As of now, an L2 block is created every 1 seconds (controlled by StateKeeper's config `miniblock_commit_deadline_ms`)
(You can check difference between `RemainingBlock` and `EstimateTimeInSec` from [block countdown api endpoint](https://block-explorer-api.mainnet.zksync.io/docs#/Block%20API/ApiController_getBlockCountdown)), and it includes all the transactions received during that time period. This periodic creation of L2 blocks ensures that
transactions are processed and included in the blocks regularly.

### Block Properties
Expand Down

0 comments on commit dbd2a3a

Please sign in to comment.