-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add prev_hash to soft confirmations (#873)
* Add prev_hash to types * Initialize prev_hash * Add batch hash type * Initialize prev_hash in nodes * Remove pre_state_root * Completely initialize batch_hash * Remove pre_state_root * Handle removal of pre_state_root * Verify prev_hash * Remove missed pre_state_root * Remove redundant clone * Fix previous_batch asserts * Add get_soft_batch_by_number * Only assert prior hash when not genesis * Pass pre_state around for hooks * Resolve RPC test * Pass prev_hash in receipt * Check prev_hash before applying soft confirmation * Add prev hash to zk output * Add type for soft confirmation hash * Cleanup primitives to prevent cyclic deps * Remove worker_thread counts * Fix proving
- Loading branch information
Showing
38 changed files
with
324 additions
and
246 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.