Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Stress-04] Create nested tree for finalize root #2170

Merged
merged 9 commits into from
Nov 25, 2023

Conversation

raychu86
Copy link
Contributor

@raychu86 raychu86 commented Nov 13, 2023

Motivation

This PR adds an additional merkle tree layer (finalize ID) when calculating the finalize root. Each confirmed transaction will have a FinalizeID which is the root of the merkle-ized finalize operations. A block's finalize root is now the root of a Merkle tree with each of the finalize IDs as leaves.

This change increases the bounds and number of finalize operations a block can include, and gets around the previously insufficient finalize depth of 20, which could cause halting on the network.

@howardwu howardwu changed the base branch from testnet3 to mainnet November 14, 2023 18:27
@howardwu howardwu marked this pull request as ready for review November 25, 2023 21:42
@howardwu howardwu merged commit 3df72a6 into mainnet Nov 25, 2023
78 checks passed
@howardwu howardwu deleted the feat/nested-finalize-tree branch November 25, 2023 22:50
@raychu86 raychu86 changed the title Create nested tree for finalize root [Fix] Create nested tree for finalize root Feb 12, 2024
@raychu86 raychu86 changed the title [Fix] Create nested tree for finalize root [Stress-04] Create nested tree for finalize root Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants