You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the Verkle transition, we will need to perform a full sync between the Verkle fork block and the head during the transition. In other words, nodes that choose to sync from scratch during the transition will first download the state frozen at the time of the fork and then perform a full sync from the fork block to the head to update the Verkle tree and catch up to the head. This is necessary because we do not want to implement a special sync for the transition and will be using the legacy flat database (via Keccak) during the transition to avoid additional disk access for SLOAD operations. Indeed, we will not be able to update the Keccak flat database with post-Verkle fork data other than through a full sync. And we do not want to have both a PMT flat database and a Verkle flat database during the transition to avoid excessive disk access. After the transition, we will switch to a full Verkle flat database, and there will no longer be an issue.
Therefore, we need to examine the performance of the full sync and see if we can optimize it. We do not yet know how long the transition will be, but if it take several weeks, it means that a node wanting to sync during the transition will have to, after downloading the frozen state, perform a full sync of several weeks.
The text was updated successfully, but these errors were encountered:
Description
For the Verkle transition, we will need to perform a full sync between the Verkle fork block and the head during the transition. In other words, nodes that choose to sync from scratch during the transition will first download the state frozen at the time of the fork and then perform a full sync from the fork block to the head to update the Verkle tree and catch up to the head. This is necessary because we do not want to implement a special sync for the transition and will be using the legacy flat database (via Keccak) during the transition to avoid additional disk access for SLOAD operations. Indeed, we will not be able to update the Keccak flat database with post-Verkle fork data other than through a full sync. And we do not want to have both a PMT flat database and a Verkle flat database during the transition to avoid excessive disk access. After the transition, we will switch to a full Verkle flat database, and there will no longer be an issue.
Therefore, we need to examine the performance of the full sync and see if we can optimize it. We do not yet know how long the transition will be, but if it take several weeks, it means that a node wanting to sync during the transition will have to, after downloading the frozen state, perform a full sync of several weeks.
The text was updated successfully, but these errors were encountered: