-
Notifications
You must be signed in to change notification settings - Fork 307
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
Rename HistoricBlockData to HistoricalBlockData #3471
Comments
Thinking about this I am not sure I even like the "HistoricalBlockData" name because it doesn't have to be historical (it can be of latest block) and I don't think the use of "historical" makes sense. It's like calling L2Block HistoricalL2Block just because it can be old. In PrivateContext we call it just block_data. It seems to me that based on the contents it would be much better to call it a block header because that it's exactly what it is called in other blockchains given that this data is a preimage to block hash:
|
Fixes #3471 1. historic -> historical 2. `HistoricBlockData` -> `BlockHeader` 3. `Historic Blocks Tree` -> `Blocks Tree` 4. Blocks Tree was sometimes incorrectly referred to as Blocks Tree Roots so I fixed that in [this commit](8c9ae59). 5. Rewrote documentation of `perform_blocks_tree_membership_checks` in [this commit](8c9ae59) as it was confusing. 6. Fixed some stale naming of note hash tree (private data tree)
Fixes AztecProtocol/aztec-packages#3471 1. historic -> historical 2. `HistoricBlockData` -> `BlockHeader` 3. `Historic Blocks Tree` -> `Blocks Tree` 4. Blocks Tree was sometimes incorrectly referred to as Blocks Tree Roots so I fixed that in [this commit](AztecProtocol/aztec-packages@8c9ae59). 5. Rewrote documentation of `perform_blocks_tree_membership_checks` in [this commit](AztecProtocol/aztec-packages@8c9ae59) as it was confusing. 6. Fixed some stale naming of note hash tree (private data tree)
Fixes AztecProtocol/aztec-packages#3471 1. historic -> historical 2. `HistoricBlockData` -> `BlockHeader` 3. `Historic Blocks Tree` -> `Blocks Tree` 4. Blocks Tree was sometimes incorrectly referred to as Blocks Tree Roots so I fixed that in [this commit](AztecProtocol/aztec-packages@8c9ae59). 5. Rewrote documentation of `perform_blocks_tree_membership_checks` in [this commit](AztecProtocol/aztec-packages@8c9ae59) as it was confusing. 6. Fixed some stale naming of note hash tree (private data tree)
Problem
The meaning we want to convey here is that the data in the block is from the past which historic does not convey.
Solution
Rename historic to historical
The text was updated successfully, but these errors were encountered: