-
Notifications
You must be signed in to change notification settings - Fork 256
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Allow querying block number for tree indices (#10332)
This PR make the following changes. 1. Captures and propagates more of the errors generated in the merkle trees out to the TS interface. 2. Introduces the `block_number_t` typedef within the native world state. 3. Introduces a new DB in the native world state. This DB maps block numbers to the size of the tree at that block. It then uses this DB to fulfill queries looking to identify which block given notes were included within.
- Loading branch information
1 parent
2a07355
commit cf05a7a
Showing
33 changed files
with
1,402 additions
and
193 deletions.
There are no files selected for viewing
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.
cf05a7a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possible performance regression was detected for benchmark 'C++ Benchmark'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold
1.05
.nativeconstruct_proof_ultrahonk_power_of_2/20
5038.110503999988
ms/iter4583.430852999996
ms/iter1.10
Goblin::merge(t)
140911800
ns/iter133738848
ns/iter1.05
This comment was automatically generated by workflow using github-action-benchmark.
CC: @ludamad @codygunton